@charset "euc-jp";

/* reset */
body, div, dl, dt, dd, ul, ol, li,
h1, h2, h3, h4, h5, h6, pre, code,
form, fieldset, legend, input, textarea,
p, blockquote, th, td {
  margin: 0;
  padding: 0;
}
.none_border_table,
.product_option_table table {
  border-spacing: 0;
  border-collapse: collapse;
}
fieldset,
img {
  border: 0;
}
address, caption, cite, code,
dfn, em, strong, th, var {
  font-weight: normal;
  font-style: normal;
}
 
ol, ul {
  list-style: none;
}
 
caption, th {
  text-align: left;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  font-size: 100%;
}
q:before,
q:after {
  content: '';
}
abbr, acronym {
  border: 0;
  font-variant: normal;
}
sup {
  vertical-align: text-top;
}
sub {
  vertical-align: text-bottom;
}
input,
textarea,
select {
  font-weight: inherit;
  font-size: inherit;
  font-family: inherit;
}
input,
textarea,
select {
  *font-size: 100%;
}
legend {
  color: #000;
}

/* font size */
body {
  font: 13px/1.231 arial,helvetica,clean,sans-serif;
  *font-size: small; /* for IE */
  *font: x-small; /* for IE in quirks mode */
}
select, input, button, textarea {
  font: 99% arial,helvetica,clean,sans-serif;
}
table {
  font: 100%;
  font-size: inherit;
}
pre, code, kbd, samp, tt {
  font-family: monospace;
  line-height: 100%;
  *font-size: 108%;
}

/* common */
body {
  color: #444;
  font-family: "Lucida Sans Unicode", "Lucida Grande", Arial, Helvetica, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", sans-serif;
  /* background-color: #FFFFFF; */
}
a {
  color: #3579bf;
}
input[type="text"],
textarea,
select {
  border: 1px solid #888;
}
/* clearfix */
.clearfix {
  *zoom: 1;
}

/*
  .clearfix:before, .clearfix:after {
    display: table;
    content: "";
  }
  .clearfix:after {
    clear: both;
  }
*/


/* icons */
.icon:before,
.ie_icon {
  display: block;
  float: left;
  margin-right: 4px;
  width: 16px;
  height: 16px;
  background-image: url(https://img.shop-pro.jp/tmpl_img/63/icons16.png);
  background-repeat: no-repeat;
  content: "";
}
  .icon_myaccount:before,
  .ie_icon_myaccount {
    background-position: left -96px;
  }
  .icon_regist:before,
  .ie_icon_regist {
    background-position: left -192px;
  }
  .icon_login:before,
  .ie_icon_login {
    background-position: left -224px;
  }
  .icon_logout:before,
  .ie_icon_logout {
    background-position: left -208px;
  }
  .icon_search:before,
  .ie_icon_search {
    background-position: left -16px;
  }
  .icon_viewcart:before,
  .ie_icon_viewcart {
    background-position: left -0px;
  }
  .icon_sort:before,
  .ie_icon_sort {
    background-position: left -112px;
  }
  .icon_prev:before,
  .ie_icon_prev {
    margin-right: 0;
    background-position: left -32px;
  }
  .icon_next:before,
  .ie_icon_next {
    float: right;
    margin-right: 0;
    background-position: right -48px;
  }
  .icon_prev_dis:before,
  .ie_icon_prev_dis {
    margin-right: 0;
    background-position: left -64px;
  }
  .icon_next_dis:before,
  .ie_icon_next_dis {
    float: right;
    margin-right: 0;
    background-position: right -80px;
  }
  .icon_lst:before,
  .ie_icon_lst {
    margin-right: 0;
    background-position: left -176px;
  }
    .footer_lst .icon_lst:before,
    .footer_lst .ie_icon_lst {
      margin-left: -16px;
    }
  .icon_down:before,
  .ie_icon_down {
    display: none;
  }
  .icon_category_lst:before,
  .ie_icon_category_lst {
    display: none;
  }
  .icon_review:before,
  .ie_icon_review {
    background-position: left -240px;
  }
  .icon_review_post:before,
  .ie_icon_review_post {
    background-position: left -256px;
  }

/* layout */
.layout_wrapper {
  margin: 0 auto;
  width: 1000px;
  background-color: #fff;
}
.layout_header,
.layout_container,
.layout_footer {
  margin: 0 auto;
  width: 94%;
}
.layout_header {
  padding-top: 10px;
}
.layout_footer {
  margin-top: 3em;
}
.header_btn {
  font-size: 92.307%;
  line-height: 1.5;
}
  .header_btn a {
    color: #444;
  }
.viewcart_btn {
  float: right;
  margin-bottom: .5em;
  margin-left: 1.063%;
}
.header_member_nav {
  float: right;
  width: 29.787%;
}
  .header_member_nav li {
    float: right;
    white-space: nowrap;
    margin-left: 3.571%;
  }
  .member_login_name {
    float: right;
    clear: right;
    margin-bottom: .5em;
    text-align: right;
    line-height: 1.5;
  }

/* delivery price */
.header_delivery_price {
  padding: .5em 1em .3em;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background-color: #df7676;
  color: #fff;
  line-height: 1.5;
  float: right;
  clear: right;
}

/* product search form */
.prd_search_block {
  position: relative;
  float: left;
  margin: -6px 0 0 0;
  padding: 6px 0 0 1px;
  width: 30.212%;
  font-size: 92.307%;
}
  .prd_search_block.open {
    padding: 5px 0;
    border: 1px solid #888;
  }
  .prd_search_form_btn {
    cursor: pointer;
    display: inline-block;
    margin-left: 5px;
    padding: .3em .5em;
    border: 1px solid #a0a0a0;
    -webkit-border-radius: 4px;
    border-radius: 4px;
  }
  .prd_search_form {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    overflow: hidden;
    width: 97%;
  }
  .prd_search_keyword {
    float: left;
    padding: .5em 0;
    width: 80%;
    border: 1px solid #888;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    text-indent: 5px;
  }
  .prd_search_btn {
    float: right;
    padding: .35em 0;
    width: 18%;
    border: 1px solid #444;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-color: #444;
    color: #fff;
    cursor: pointer;
  }
  .prd_search_optioncategory {
    margin-top: 10px;
    line-height: 1.5;
  }
  .prd_search_select {
    display: inline-block;
    width: 100%;
    font-size: 120%;
  }
  .prd_search_select option {
    word-break: break-all;
  }

/* shopname logo */
.shop_name {
  clear: both;
  padding: 1em 10% 2em;
  text-align: center;
  line-height: 1.5;
  margin-top: 2em;
  border-bottom: 1px solid #888;
}

  .shop_name a {
    color: #444;
    text-decoration: none;
  }
    .shop_name a:hover {
      text-decoration: underline;
    }
  .shop_name p {
    margin-bottom: 10px;
    text-align: center;
    font-size: 246.153%;
  }
  .shop_name img {
    max-width: 100%;
    height: inherit;
  }

/* header global nav */
.header_global_nav {
  margin-top: 3px;
  margin-bottom: 2em;
}
.header_nav_lst {
  text-align: center;
}
.header_nav_menu {
  position: relative;
  display: inline;
  margin: 0 1em;
  padding: 0 1em;
  text-align: center;
  font-weight: bold;
  line-height: 4;
}
.header_nav_menu a,
.header_nav_menu span {
  display: inline;
  color: #444;
  text-decoration: none;
  cursor: pointer;
}
.header_nav_menu_category img {
  position: relative;
  width: 16px;
  height: 16px;
}
.header_category_lst {
  position: absolute;
  left: 0;
  z-index: 101;
  display: none;
  min-width: 100%;
  width: auto;
  border-top: 1px solid #aaa;
  background-color: #fff;
}
.header_category_lst a {
  display: block !important;
  padding: 1em;
  /* background-color: #fff; */
}

/* title */
.ttl_h2 {
  margin-top: 3em;
  margin-bottom: .7em;
  color: #444;
  font-weight: bold;
  font-size: 20px;
}
.ttl_h3 {
  margin-top: 2em;
  margin-bottom: .5em;
  color: #444;
  font-weight: bold;
  font-size: 92.307%;
}

/* topicpath */
.topicpath_nav {
  margin: 2em 0;
  font-size: 84.615%;
}
  .topicpath_nav li {
    display: inline;
    margin-right: .2em;
  }
  .topicpath_nav li a {
    margin-left: .2em;
    color: #444;
    text-decoration: none;
  }
  .topicpath_nav li a:hover {
    text-decoration: underline;
  }

@media screen and (max-width: 480px){

  .topicpath_nav{ padding: 0 12px; }
  
}


/* prduct list */
.prd_lst {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.prd_lst_unit {
  flex: 1 1 calc(25% - 12px); /* PCでは4列 */
  max-width: calc(25% - 12px);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 8px;
}
  .prd_lst_unit_s {
    width: 22.916%;
  }
  .prd_lst_unit_m {
    width: 31.25%;
  }
  .prd_lst_unit a {
    color: #000;
    text-decoration: none;
  }
  .prd_lst_unit a:hover {
    text-decoration: underline;
  }


/* --- 商品リンク（画像部分の枠を正方形に固定） --- */
.prd_lst_link {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* 正方形を確保 */
  overflow: hidden;    /* はみ出した部分は隠す */
  background: #fafafa; /* 背景色（必須なら） */
}

/* --- 商品画像を枠いっぱいにフィット --- */
.prd_lst_link img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 枠いっぱいで切り抜き */
  display: block;
}


  .prd_lst_img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: inherit;
  }
  .prd_lst_span {
    display: block;
    margin-top: auto;
    padding: 4px 0;
  }
  .prd_lst_name {
    margin-top: .5em;
  }
  .prd_lst_exp {
    color: #666;
    font-size: 84.615%;
  }
  .prd_lst_price,
  .prd_lst_soldout {
    font-weight: bold;
    font-size: 110%;
  }
  .prd_lst_regular {
    color: #666;
    text-decoration: line-through;
  }
  .prd_lst_none {
    clear: both;
    text-align: center;
    font-size: 123.076%;
    line-height: 16;
  }
.prd_lst_block .ttl_h2 {
  float: left;
  margin: 20px 0 0;
}
.prd_lst_sort {
  float: right;
  margin: 20px 0;
}
  .prd_lst_sort a {
    color: #444;
  }
  .prd_lst_pager {
    position: relative;
    overflow: hidden;
    margin-top: 2em;
  }
  .prd_lst_pager ul {
    position: relative;
    left: 50%;
    float: left;
  }
  .prd_lst_pager li {
    position: relative;
    left: -50%;
    float: left;
  }
  .prd_lst_pager .prd_lst_pager_prev,
  .prd_lst_pager .prd_lst_pager_next {
    padding: .5em 0;
    width: 8em;
  }
  .prd_lst_pager .prd_lst_pager_next {
    text-align: right;
  }
  .icon_prev_dis,
  .icon_next_dis {
    display: block;
    color: #aaa;
  }
  .prd_lst_pager a {
    color: #444;
    text-decoration: none;
  }
  .prd_lst_pager a:hover {
    text-decoration: underline;
  }
.prd_lst_pos b {
  font-size: 160%;
}

/* footer */
.footer_section {
  float: left;
  margin-top: 1em;
  margin-right: 1.5%;
  margin-bottom: 15px;
  width: 23%;
}
  .footer_section .ttl_h2 {
    margin-top: 0;
  }
.footer_nav {
  position: relative;
  clear: both;
  padding: 2em 0;
  border-top: 1px solid #d8d8d8;
}
.footer_lst {
  font-size: 92.307%;
  line-height: 1.5;
}
  .footer_lst li {
    word-break: break-all;
    margin-bottom: .5em;
    padding-left: 16px;
  }
  .footer_lst .footer_category_img {
    display: block;
    margin-bottom: .3em;
    max-width: 100%;
    height: auto;
  }
  .footer_lst a {
    color: #444;
    text-decoration: none;
  }
    .footer_lst a:hover {
      text-decoration: underline;
    }

/* manager */
.manager_img img {
  max-width: 100%;
}
.manager_memo .ttl_h3 {
  margin-top: .7em;
}

/* social icons */
.social_lst ul {
  padding-left: 16px;
  text-align: left;
}
.social_lst li {
  display: inline;
  margin: 1.5%;
}
.social_lst img {
  width: 24px;
  height: 24px;
  vertical-align: bottom;
}

  .copyright {
    clear: both;
    padding: 1em 0;
    text-align: right;
    font-size: 76.923%;
  }
    .powered {
      display: inline;
      margin-left: 1em;
      text-align: right;
      line-height: 18px;
    }
    .powered a {
      color: #777;
      text-decoration: none;
    }
    .powered img {
      margin-left: .3em;
      width: 200px;
      height: 18px;
    }

/* list */
.def_lst {
  border-top: 1px solid #eee;
}
  .def_lst_dt {
    padding-top: 1em;
    padding-bottom: 1em;
    font-weight: bold;
    float: left;
    clear: both;
    width: 30%;
    word-break: break-all;
  }
  .def_lst_dd {
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 35%;
    border-bottom: 1px solid #eee;
  }
    .def_lst_dd img {
      max-width: 100%;
      width: inherit;
      height: auto;
    }

/* product option */
.product_option_table {
  margin: 3em 0;
}
  .product_option_table table {
    width: 100%;
    border-bottom: 1px solid #dadada;
    border-left: 1px solid #dadada;
  }
  .product_option_table th,
  .product_option_table td {
    padding: .8em .5em;
    border-top: 1px solid #dadada;
    border-right: 1px solid #dadada;
  }
  .product_option_table th {
    text-align: center;
  }
  .product_option_table td {
    vertical-align: top;
    text-align: center;
  }

/* policy */
#policy p {
  margin: 1em 0;
  color: #666;
  line-height: 1.8;
}
.policy_lead {
  padding-bottom: 1em;
  border-bottom: 1px solid #eee;
}

/* for ie7 - 8 */
.ie_wrapper .header_global_nav {
  position: relative;
  z-index: 101;
}
.ie_wrapper .header_nav_menu {
  z-index: 60;
}
.ie_wrapper .header_nav_menu_category {
  z-index: 100;
}
.ie_wrapper .header_category_lst {
  top: 3em;
}
/* for ie7 */
.ie.icon_prev,
.ie.icon_prev_dis {
  margin-right: 2em;
}
.ie_wrapper .header_category_lst {
  top: 2.7em;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), (-webkit-min-device-pixel-ratio: 1.5) {
  .icon:before {
    background-image: url(https://img.shop-pro.jp/tmpl_img/63/icons16_2x.png) !important;
    -webkit-background-size: 16px 320px;
    background-size: 16px 320px;
  }
}



.layout_wrapper{
  width: 100%;
}

.layout_container{
  width: 1100px;
  margin: 0 auto;
}

.layout_wrapper{
  background: #f0f0f0 !important;
}



/* =========================================================
   Base
========================================================= */
:root {
  --c-primary: #29bce2;
  --c-text: #222;
  --c-border: #e5e7eb;
  --c-bg: #fff;
}

/* ヘッダー土台 */
header {
  width: 100%;
  background: #fff;
}

/* =========================================================
   Upper Header : ロゴ / 検索 / ログイン・登録・カート
========================================================= */
.header-inner {
  max-width: 1266px;
  margin: 0 auto;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  display: block;
  height: 40px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* 検索フォーム */
.header-search {
  flex: 1 1 320px;
  min-width: 180px;
}

.search-form {
  display: flex;
  align-items: center;
  width: 100%;
}

.search-form__input {
  flex: 1 1 auto;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--c-border);
  border-radius: 9999px 0 0 9999px;
  font-size: 14px;
}

.search-form__submit {
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--c-primary);
  border-radius: 0 9999px 9999px 0;
  background: var(--c-primary);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

/* 上段メニュー */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.header-member {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-btn .header-btn__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 9999px;
  text-decoration: none;
  color: var(--c-text);
  font-size: 14px;
}

.header-btn i {
  font-size: 15px;
  color: var(--c-primary);
}

/* =========================================================
   Global Nav (下段)
========================================================= */
.header_global_nav {
  width: 100%;
  background: #515151;
  color: #fff;
}

.header_nav_lst {
  max-width: 1266px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  list-style: none;
  position: relative;
}

.gmenu_item > a,
.gmenu_item > .nav_toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 10px;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
}

/* カテゴリー（ドロップダウン） */
.gmenu_item_category {
}

.header_category_lst {
  display: none;                 /* 初期は非表示 */
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 50;
  background: #3a3a3a;
  color: #fff;
  border: 1px solid #2d2d2d;
  margin: 0;
  padding: 10px;
  list-style: none;
  /* 5列グリッド */
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px 16px;
  min-width: 800px;
  max-height: 60vh;
  overflow: auto;
}

@media (min-width: 769px){
  .header_category_lst {
    left: 50%;
    transform: translateX(-50%);
  }
  
}


.header_category_lst li a {
  display: block;
  padding: 6px 8px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.4;
  border-radius: 4px;
}

/* PC：hoverで展開 */
.gmenu_item_category:hover > .header_category_lst {
  display: grid;
}

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 1024px) {
  .header-search {
    flex-basis: 260px;
    min-width: 160px;
  }
  .header-btn .header-btn__link {
    font-size: 13px;
    padding: 5px 8px;
  }
  .header_nav_lst {
    gap: 14px;
  }
}

@media (max-width: 768px) {
  /* 上段：折り返し */
  .header-inner {
    flex-wrap: wrap;
  }
  .header-right {
    flex: 1 0 100%;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
  }
  .header-search {
    flex: 1 0 100%;
    order: 1;
  }
  .header-actions {
    flex: 1 0 100%;
    order: 2;
    justify-content: center;
  }
  .header-btn .header-btn__link {
    font-size: 12px;
    padding: 4px 7px;
  }

  /* 下段：縦並び＆アコーディオンを押し出し表示 */
  .header_nav_lst {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 12px 12px;
  }
  .gmenu_item_category {
    width: 100%;
    max-width: 560px;
  }
  .gmenu_item > a,
  .gmenu_item > .nav_toggle {
    width: 100%;
    justify-content: center;
  }
  .header_category_lst {
    position: static;
    width: 100%;
    min-width: auto;
    max-height: 50vh;
    grid-template-columns: 1fr;  /* SPは1列 */
  }
  
  .search-form__input{
    height: 28px;
  }
  .search-form__submit{
    height: 30px;
  }
  
}


/* 初期は閉じる */
.header_category_lst{ display:none; }

/* PC（マウス/トラックパッド）では hover で開く */
@media (hover: hover) and (pointer: fine){
  .gmenu_item_category:hover > .header_category_lst{
    display:grid; /* 5列のまま */
  }
}

/* モバイル/タッチ時は .is-open が付いたときに開く */
.gmenu_item_category.is-open > .header_category_lst{
  display:grid;
}


/* pc hover */
@media (hover: hover) {
  
  .prd_lst_unit:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
  }
  
}


/* バーガーメニュー */
/* バーガー：PCでは非表示 */
.mios-nav-toggle { position:absolute; opacity:0; pointer-events:none; }

.header-burger{
  box-sizing: border-box;
  display:none;
  width:40px; height:40px;
  padding:8px;
  border:1px solid var(--c-border, #e5e7eb);
  border-radius:8px;
  background: #515151;
  cursor:pointer;
}
.header-burger .burger-bar{
  display:block; height:2px; background:#fff; margin:5px 0; border-radius:1px;
  transition:transform .2s ease, opacity .2s ease;
}

/* オーバーレイ（初期は非表示） */
.nav_overlay{ display:none; }

/* ── スマホ版（&#8804;768px）だけオフキャンバス化 ── */
@media (max-width:768px){
  
  .header_global_nav{
    margin: 0;
  }
  
  /* 右上にボタン表示（親にposition指定不要） */
  .header-burger{
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 1002;
  }

  /* グロメニューを固定＋右外へ退避 */
  .header_nav_lst{
    position:fixed;
    top:0; right:0;
    width:min(80vw, 360px);
    height:100dvh;
    padding:16px;
    box-sizing:border-box;
    display:flex; flex-direction:column; align-items:flex-start; gap:8px;
    background:#515151;
    /* box-shadow:-8px 0 24px rgba(0,0,0,.15); */
    transform:translateX(100%);
    transition:transform .25s ease;
    z-index:1001;
  }

  /* オーバーレイ */
  .nav_overlay{
    position:fixed; inset:0;
    background:rgba(0,0,0,.4);
    z-index:1000;
  }

  /* チェックONで開く／ボタンはX化 */
  .mios-nav-toggle:checked ~ .header-burger .burger-bar:nth-child(1){
    transform: translateY(7px) rotate(45deg);
  }
  .mios-nav-toggle:checked ~ .header-burger .burger-bar:nth-child(2){
    opacity:0;
  }
  .mios-nav-toggle:checked ~ .header-burger .burger-bar:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
  }
  .mios-nav-toggle:checked ~ .header_global_nav .header_nav_lst{
    transform:translateX(0);
  }
  .mios-nav-toggle:checked ~ .header_global_nav .nav_overlay{
    display:block;
  }

  /* オフキャンバス内の項目整形（任意） */
  .gmenu_item {
    width:100%;
  }
  .gmenu_item > a,
  .gmenu_item > .nav_toggle{
    width:100%; display:inline-flex; align-items:center; justify-content:flex-start;
    padding:12px 8px; text-decoration:none; background:transparent; border:0; font-size:14px;
  }

  /* カテゴリ一覧は押し出し（1列） */
  .header_category_lst{
    position:static;
    width:100%;
    min-width:auto;
    max-height:50vh;
    overflow:auto;
    display:grid;
    grid-template-columns:1fr;
    gap: 0;
    margin: 0;
    padding: 0;
    border:0;
  }
  
  .header_category_lst li a{
    border-bottom: 1px solid #272727;
    text-align: left;
  }
  
}



/* =============================================================================== */
/* 商品カード */


/* rs */
@media (max-width:768px){
  
  .layout_container{ 
    width: 100%;
    margin-top: 24px;
  }
  
  .ttl_h2{
    margin-top: 24px;
    padding: 0 2%;
    text-align: center;
  }
  
  .prd_lst{
    padding: 0 2%;
    justify-content: center;
    gap: 8px;
  }
  .prd_lst_name {
    font-size: 14px;
  }
  .prd_lst_unit{
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
  } 
  
}



/* =============================================================================== */
/* footer */


:root {
  --cfoot-primary: #e866a2; /* ピンク */
  --cfoot-text:    #333;
  --cfoot-muted:   #6b7280;
  --cfoot-border:  #e5e7eb;
}

#cfoot { all: unset; display:block; background: #fff; }
#cfoot .cfoot { background:#fff; color:var(--cfoot-text); font-size:14px; line-height:1.7; }
#cfoot .cfoot * { box-sizing:border-box; }
#cfoot img { max-width:100%; height:auto; display:block; }

/* nav本体 */
#cfoot .cfoot__nav {
  max-width:1200px; margin:0 auto; padding:32px 16px 20px;
  display:grid; gap:24px;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}
#cfoot .cfoot__sec { padding:0; }
#cfoot .cfoot__ttl2 { font-size:15px; font-weight:700; margin:0 0 12px; }
#cfoot .cfoot__ttl3 { font-size:14px; font-weight:700; margin:0 0 8px; }
#cfoot .cfoot__text { font-size:14px; }

/* manager */
#cfoot .cfoot__about { display:flex; gap:12px; align-items:flex-start; }
#cfoot .cfoot__manager-img img {
  width:60px; height:60px; object-fit:cover; border-radius:8px;
  border:1px solid #eef1f5;
}

/* list */
#cfoot .cfoot__list { list-style:none; margin:0; padding:0; display:grid; gap:8px; padding-left: 12px; }
#cfoot .cfoot__item { margin:0; }
#cfoot .cfoot__link {
  display:inline-flex; align-items:center; gap:8px;
  text-decoration:none; color:var(--cfoot-text);
  border-bottom:1px solid transparent;
  transition:color .2s ease,border-color .2s ease;
}
#cfoot .cfoot__sep { margin:0 6px; color:var(--cfoot-muted); }

/* QR */
#cfoot .cfoot__qrcode {
  width:140px; height:140px; object-fit:contain;
  border:1px solid var(--cfoot-border); border-radius:8px; padding:6px;
}

/* social */
#cfoot .cfoot__social {
  list-style:none; margin:6px 0 0; padding:0;
  display:flex; gap:10px; flex-wrap:wrap;
}
#cfoot .cfoot__social-ico {
  width:28px; height:28px; display:block; opacity:.9; transition:opacity .2s;
}

/* copy */
#cfoot .cfoot__copy {
  max-width:1200px; margin:0 auto; padding:12px 24px;
  text-align:center; font-size:12px; color:var(--cfoot-muted);
  border-top:1px solid #eef1f5;
}

/* TOPへ */
#cfoot .cfoot__totop {
  position:fixed; right:12px; bottom:12px; z-index:50;
  width:40px; height:40px; border-radius:9999px;
  display:grid; place-items:center;
  border:1px solid var(--cfoot-border); background: var(--c-primary);
  color:#fff; text-decoration:none;
  box-shadow:0 1px 2px rgba(16,24,40,.06);
  transition: .3s;
}

/* sp */
@media (max-width:768px){
  #cfoot .cfoot__nav { padding:24px 14px 12px; grid-template-columns:1fr; gap:20px; }
  #cfoot .cfoot__about { gap:10px; }
  #cfoot .cfoot__manager-img img { width:56px; height:56px; }
}

/* hover */
@media (hover: hover) {
  #cfoot .cfoot__link:hover { color:var(--c-primary); border-color:var(--c-primary); }
  #cfoot .cfoot__social-link:hover .cfoot__social-ico { opacity:1; }
  #cfoot .cfoot__totop:hover { transform:translateY(-3px); }
}


/* スマホ時のみ適用 */
@media (max-width: 768px){
  /* メニューが開いている間はページを固定 */
  body:has(#navToggle:checked) {
    overflow: hidden;
    overscroll-behavior: contain;
    touch-action: none;         /* iOSの慣性スクロール抑止 */
  }
  /* 背景の慣性スクロールも止める */
  html:has(#navToggle:checked) {
    overscroll-behavior: none;
  }
}



/* hover animation */
@media (hover: hover) {

  .header-btn .header-btn__link{ transition: .2s; }
  .header-btn .header-btn__link:hover{
    text-decoration: underline;
    color: var(--c-primary);
  }
  
  .gmenu_item > a:hover{
    text-decoration: underline;
  }
  
  .header_category_lst li a:hover{
    text-decoration: underline;
  }
  
}_



/* sale off tag */
.prd_lst_span.discount_rate{
  display: inline-block;
  font-size: 110%;
  color: #fff;
  background: #f365a0;
  border-radius: 4px;
  font-weight: 600;
}

.header-btn i {
  font-size: 20px;
}
.header-btn .header-btn__link{
  position: relative;
  flex-direction: column;
  gap: 4px;
}
.header-btn .header-btn__link .incartItem{
  font-size: 8px;
  font-weight: 600;
  color: #fff;
  width: 16px;
  height: 16px;
  border-radius: 100%;
  background: red;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 5px;
}


@media screen and (max-width: 768px){
    .header-actions {
      position: absolute;
      top: 14px;
      right: 70px;
    }
  
  .header-btn .header-btn__link{
    padding: 0;
  }
  
  .header-btn .header-btn__link .incartItem{
    top: -5px;
    right: -5px;
  }
  
}



/* =========================
 * 最近チェックした商品リスト
 * ========================= */
.history_lst__container{
  max-width: 1100px;
  margin: 36px auto 0;
  padding-bottom: 36px;
}
.history_lst {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 10px;
}

.history_lst li {
  width: 15%;
  padding: 4px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  text-align: center;
}

.history_lst li a{
  text-decoration: none;
}

.history_lst li:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
  transform: translateY(-1px);
}

/* サムネイル */
.history_lst .prd_lst_img {
  width: 100%;
  aspect-ratio: 1 / 1;   /* 正方形で揃える */
  object-fit: cover;
  display: block;
  border-radius: 4px;
  overflow: hidden;
}

/* 商品名 */
.history_lst .prd_lst_name {
  display: block;
  margin: 4px 0;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}
.history_lst .prd_lst_name a {
  text-decoration: none;
  color: inherit;
}
.history_lst .prd_lst_name a:hover {
  color: #1976D2;
}

/* =========================
 * スマホ用（1列・画像左/テキスト右）
 * ========================= */
@media (max-width: 768px) {
  
  .history_lst__container{
    margin-top: 54px;
  }
 
  .history_lst{
    gap: 0;
  }
  
  .history_lst li {
    width: 30%;
    gap: 12px;
  }
  .history_lst .prd_lst_img {
    flex: 0 0 100px;      /* サムネ幅 */
    aspect-ratio: 1 / 1;
  }
  .history_lst .prd_lst_name {
    flex: 1;
    font-size: 10px;
    margin: 0;
  }
}


/* ===== スマホ時：カルーセルON用オーバーライド ===== */
@media (max-width: 768px) {
  /* 条件を満たしたときだけ .is-carousel を付与する */
  .history_lst.is-carousel {
    display: flex;              /* flex継続 */
    flex-wrap: nowrap;          /* ★ 横一列に並べる */
    gap: 6px;
    overflow-x: auto;           /* ★ 横スクロールを有効化 */
    scroll-snap-type: x mandatory;       /* スナップ */
    -webkit-overflow-scrolling: touch;   /* 慣性スクロール */
    padding: 0 8px 8px;
    padding-left: 8px;        /* ★ 先頭の余白 */
    scroll-padding-left: 8px; /* ★ スナップ開始位置を合わせる */
  }

  .history_lst.is-carousel li {
    flex: 0 0 25%;              /* ★ 1画面に1枚強見える幅（好みで 60&#12316;85% 調整可） */
    max-width: 25%;
    width: auto;                /* 既存の width:30% を打ち消す */
    margin: 0;                  /* 既存の段落ち用マージンを打ち消す */
    scroll-snap-align: start;   /* スナップ位置 */
    display: block;             /* カード表示に戻す */
    text-align: center;
  }

  .history_lst.is-carousel .prd_lst_img {
    width: 100%;
    flex: none;                 /* 既存の flex-basis を無効化 */
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .history_lst.is-carousel .prd_lst_name {
    font-size: 12px;            /* 少し読みやすく */
    margin: 4px 0 8px;
    padding: 0 2px;
    text-align: left;
  }

  /* 見た目の演出（左右フェード：任意） */
  .history_lst__container {
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
  }

  /* （任意）スクロールバー目立たせたくない場合 */
  .history_lst.is-carousel::-webkit-scrollbar { height: 6px; }
  .history_lst.is-carousel::-webkit-scrollbar-thumb { background: rgba(0,0,0,.15); border-radius: 9999px; }
  .history_lst.is-carousel::-webkit-scrollbar-track { background: transparent; }
}






