/* ====================================
   01. 基本設定
   02. Header + Mega Menu (Clean Final)
   02-sp. Header
   03. 商品一覧
   04. フッター
   05. 商品詳細
   06. ブロック
   07. Help 特商法 ご利用ガイド
==================================== */
/* ====================================
   01. 基本設定
==================================== */
/* 見出し */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* メインボタン */
.ec-blockBtn--action {
    background-color: #4a3b2a;
    color: #fff;
    border-radius: 3px;
}

.ec-blockBtn--action:hover {
    background-color: #b89b72;
}

/* サブボタン */
.ec-blockBtn--cancel {
    background-color: #8c7a67;
    color: #fff;
}

.ec-headerRole {
    background-color: #ffffff;
}

.ec-blockBtn--action {
    background-color: #4a3b2a;
    color: #fff;
}

.front_page .ec-role a img{
  transition: opacity 0.4s ease;
}

.front_page .ec-role a:hover img{
  opacity: 0.75;
}

.front_page .ec-blockBtn--top{
  background: #111;
  transition: all 0.4s ease;
  letter-spacing: 0.08em;
}

.front_page .ec-blockBtn--top:hover{
  background: #333;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ====================================
   02. Header + Mega Menu (Clean Final)
   PC: topbar + main fixed (>=992)
   SP: bar fixed only (<=991)
   Breakpoint unified: 992 / 991
==================================== */

/* ---- Vars ---- */
:root{
  --itk-topbar-h: 32px;
  --itk-main-h: 74px;
  --itk-spbar-h: 56px;
  --itk-inner-w: 1100px;

  /* body offset: default(PC) */
  --itk-header-offset: calc(var(--itk-topbar-h) + var(--itk-main-h));
}

/* ---- Body offset ---- */
body{
  padding-top: var(--itk-header-offset);
}

/* ---- Inner ---- */
.itk-header__inner{
  width: min(var(--itk-inner-w), calc(100% - 32px));
  margin: 0 auto;
}

/* ---- Header base ---- */
.itk-header{
  position: relative;
  z-index: 99999;
}

/* =========================
   Topbar (black) - PC
========================= */
.itk-header__topbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--itk-topbar-h);
  z-index: 100000;

  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
}
.itk-header__toptext{
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 12px;
  letter-spacing: .06em;
}

/* =========================
   Main header (white) - PC
========================= */
.itk-header__main{
  position: fixed;
  top: var(--itk-topbar-h);
  left: 0; right: 0;
  height: var(--itk-main-h);
  z-index: 99999;

  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.05), 0 1px 0 rgba(0,0,0,.05);
  display: flex;
  align-items: center;
}

.itk-header__mainInner{
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 0 5%;
}

/* PC側のSPナビ枠（PCでは隠す） */
.itk-header__main .itk-header__spNav{ display: none; }

/* Logo */
.itk-header__logoLink{ text-decoration:none; color:#111; }
.itk-header__logoText{
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .08em;
}

/* Category button */
.itk-catBtn{
  cursor: pointer;
  font-size: 14px;
  letter-spacing: .06em;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 999px;
  background: #fff;
}
.itk-catBtn__chev{ margin-left: 6px; font-size: 11px; opacity: .8; }

/* Search area */
.itk-header__search{
  justify-self: start;
  width: 100%;
  max-width: 520px;
}

/* ---- Search pill ---- */
.itk-headerSearch,
.itk-headerSearch form,
.itk-headerSearch .ec-headerSearch__keyword{
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.itk-headerSearch .ec-input{
  position: relative;
  border: 1px solid rgba(0,0,0,.14) !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: #fff !important;
  display: flex;
  align-items: center;
}
.itk-headerSearch input.search-name{
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  background: transparent !important;
  width: 100%;
  padding: 11px 46px 11px 14px;
}
.itk-headerSearch .ec-headerSearch__keywordBtn{
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0 !important;
  border-radius: 999px;
  background: transparent !important;
}

/* Right icons */
.itk-header__icons{
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* login.twig container */
.itk-header__icons .ec-headerNav{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.itk-header__icons .ec-headerNav__item{ margin: 0; }

/* item link */
.itk-header__icons .ec-headerNav__item a{
  display: grid;
  grid-template-rows: 18px auto;
  justify-items: center;
  text-align: center;
  row-gap: 4px;
  padding: 6px 6px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(0,0,0,.82);
  background: transparent !important;
}

/* icon */
.itk-header__icons .ec-headerNav__itemIcon{
  display: block;
  text-align: center;
  margin: 0 auto;
  line-height: 1;
  opacity: .9;
}

/* label */
.itk-header__icons .ec-headerNav__itemLink{
  display: block;
  font-size: 12px;
  letter-spacing: .0em;
  line-height: 1.4;
  opacity: .85;
  white-space: nowrap;
}

/* hover: opacity only */
.itk-header__icons .ec-headerNav__itemIcon,
.itk-header__icons .ec-headerNav__itemLink{
  transition: opacity .25s ease;
}
.itk-header__icons .ec-headerNav__item a:hover .ec-headerNav__itemIcon,
.itk-header__icons .ec-headerNav__item a:hover .ec-headerNav__itemLink{
  opacity: .65;
}

/* Cart link (cart.twig a-wrap) */
.itk-cartLink,
.itk-cartLink:visited{
  color: inherit;
  text-decoration: none;
}
.itk-cartLink:hover{
  color: inherit;
  text-decoration: none;
}
.itk-header__icons .ec-cartNaviWrap .ec-cartNavi.itk-cartLink{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  grid-template-rows: none !important;
  row-gap: 0 !important;
}
/* ※「ホバー背景なし」ならこの行は削除でOK */
.itk-header__icons .ec-cartNaviWrap .ec-cartNavi.itk-cartLink:hover{
  background: transparent !important;
}

/* 価格横並び */
.itk-header__icons .ec-cartNavi__label{ display: block !important; }
.itk-header__icons .ec-cartNavi__price{
  font-size: 12px;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* header separator is not used */
.itk-header__separator{ display:none; }

/* =========================================================
   ITOKAGU Mega Menu (PC only, >=992)
   - background 100vw / inner 1100px
   - Lv1: top horizontal (wrap, no internal scroll)
   - Lv2: below (scrollable to the very bottom)
   - page scroll allowed
========================================================= */

/* Mega open中：横だけ保険（縦はページをスクロールさせる方針） */
body.itk-megaOpen{ overflow-x: hidden; }

/* メニュー内スクロールがページへ伝播しない（スクロール連鎖対策） */
.itk-mega__lv2Wrap{
  overscroll-behavior: contain;
}

/* PC only */
@media (min-width: 992px){

  .itk-mega{
    position: fixed;
    left: 0;
    top: calc(var(--itk-headerBottom, var(--itk-header-offset)) - 1px);
    width: 100vw;
    z-index: 9999;

    background: #f6f3ee;
    border-top: 1px solid rgba(0,0,0,.08);
    border-bottom: 1px solid rgba(0,0,0,.08);

    /* アニメ */
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition:
      opacity 240ms cubic-bezier(.2,.8,.2,1),
      transform 240ms cubic-bezier(.2,.8,.2,1);
  }
  body.itk-megaOpen .itk-mega{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* ここが重要：
     innerを「縦flexの箱」にして、Lv2が残り高を全部使う */
  .itk-mega__inner{
    width: min(var(--itk-inner-w), calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 22px;

    display: flex;
    flex-direction: column;

    /* 画面内に収める（この中でLv2がスクロール） */
    max-height: calc(100vh - var(--itk-headerBottom, var(--itk-header-offset)) - 16px);
    overflow: hidden;
  }

  .itk-mega__head{
    display:flex;
    align-items:center;
    justify-content: space-between;
    margin-bottom: 12px;

    flex: 0 0 auto;
  }

  .itk-mega__title{
    margin: 0;
    font-size: 16px;
    letter-spacing: .08em;
    font-weight: 600;
    color: rgba(0,0,0,.85);
  }

  .itk-mega__close{
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    opacity: .65;
  }
  .itk-mega__close:hover{ opacity: .9; }

  /* body（Lv1+Lv2）をflex columnに */
  .itk-mega__body{
    display: flex;
    flex-direction: column;
    min-height: 0; /* ← これが無いとLv2が途中で止まりやすい */
  }

  /* ---- Lv1 (top horizontal / all visible) ---- */
  .itk-mega__lv1{
    margin: 0;
    padding: 0 0 12px;
    list-style: none;

    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;

    border-bottom: 1px solid rgba(0,0,0,.10);

    /* 全表示（内部スクロールしない） */
    max-height: none;
    overflow: visible;

    flex: 0 0 auto;
  }

  .itk-mega__lv1Btn{
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.55);
    border-radius: 999px;
    cursor: pointer;

    font-size: 13px;
    letter-spacing: .04em;
    color: rgba(0,0,0,.80);

    white-space: nowrap;
    word-break: keep-all;

    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  }

  .itk-mega__lv1Btn:hover{
    background: rgba(0,0,0,.02);
  }

  .itk-mega__lv1Btn.is-active{
    color: rgba(0,0,0,.92);
    border-color: rgba(0,0,0,.28);
    background: rgba(0,0,0,.03);
  }

  /* ---- Lv2 (below / scroll to bottom) ---- */
  .itk-mega__lv2Wrap{
    margin-top: 14px;
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 14px;
    padding: 16px 18px;

    /* 残り全部を使ってスクロール */
    flex: 1 1 auto;
    min-height: 0;     /* ← これが無いと最後まで届かない症状が出る */
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .itk-mega__lv2Head{ margin: 0 0 10px; }

  .itk-mega__lv2All{
    display:inline-block;
    text-decoration:none;
    color: rgba(0,0,0,.88);
    font-weight: 600;
    letter-spacing: .04em;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(0,0,0,.18);
  }
  .itk-mega__lv2All:hover{ opacity: .8; }

  .itk-mega__lv2List{
    margin: 10px 0 0;
    padding: 0;
    list-style: none;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 22px;
  }

  @media (max-width: 1100px){
    .itk-mega__lv2List{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }

  .itk-mega__lv2Link{
    display: inline-block;
    text-decoration: none;
    color: rgba(0,0,0,.72);
    padding: 6px 0;
    font-size: 13px;
    letter-spacing: .03em;
    border-bottom: 1px solid transparent;
  }
  .itk-mega__lv2Link:hover{
    color: rgba(0,0,0,.88);
    border-bottom-color: rgba(0,0,0,.22);
  }

  .itk-mega__lv2Empty{
    margin: 10px 0 0;
    font-size: 13px;
    color: rgba(0,0,0,.55);
  }

  @media (prefers-reduced-motion: reduce){
    .itk-mega{ transition: none; transform: none; }
  }
}

/* SPはDrawer運用なのでPCメガは隠す */
@media (max-width: 991px){
  .itk-mega{ display:none !important; }
}

/* =========================
   SP Bar (<=991)
========================= */
.itk-header__spBar{ display:none; }

@media (max-width: 991px){

  /* SP運用：白バーのみ固定。bodyの余白もSP用に切替 */
  :root{
    --itk-header-offset: var(--itk-spbar-h);
  }

  /* PC固定ヘッダーは使わない */
  .itk-header__topbar{ display:none; }
  .itk-header__main{ display:none; }

  .itk-header__spBar{
    display:block;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100000;
    background:#fff;
    border-bottom:1px solid rgba(0,0,0,.08);
  }

  .itk-header__spInner{
    height: var(--itk-spbar-h);
    display:grid;
    grid-template-columns: 56px 1fr auto;
    align-items:center;
    gap: 6px;
  }

  /* 左：ドロワー枠 */
  .itk-header__spNav{
    display:flex;
    align-items:center;
    justify-content:center;
    width:56px;
    height: var(--itk-spbar-h);
  }

  /* ★ 重要：nav_sp.twig内部が「767以下だけ表示」等で消されても出す */
  .itk-header__spNav *{
    visibility: visible !important;
  }
  .itk-header__spNav,
  .itk-header__spNav button,
  .itk-header__spNav a{
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* 中央：ロゴ */
  .itk-header__spLogo{
    justify-self:center;
    text-align:center;
  }
  .itk-header__spLogo .itk-header__logoText{
    font-size:16px;
    letter-spacing:.06em;
  }

  /* 右：検索＋カート */
  .itk-header__spRight{
    display:flex;
    align-items:center;
    gap: 2px;
  }
  .itk-spBtn{
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    border:0;
    background:transparent;
    padding:0;
    opacity:.92;
  }

  /* ===== 検索パネル開閉（TwigでcheckboxをspBar直下に移動した前提） ===== */
  .itk-header__spSearchPanel{
    overflow:hidden;
    max-height:0;
    opacity:0;
    transform: translateY(-6px);
    transition: max-height .28s ease, opacity .22s ease, transform .22s ease;
    border-top:1px solid rgba(0,0,0,.06);
    background:#fff;
  }
  #itkSpSearchToggle:checked ~ .itk-header__spSearchPanel{
    max-height: 96px;
    opacity:1;
    transform: translateY(0);
  }

  .itk-header__spSearchPanel .ec-headerSearch,
  .itk-header__spSearchPanel .itk-headerSearch{
    padding: 10px 10px 12px;
  }
}

/* 虫眼鏡 ↔ × 切替（既存のままでOKなら不要） */
.itk-spIcon--close{ display:none; }
#itkSpSearchToggle:checked + .itk-header__inner .itk-spIcon--search{ display:none; }
#itkSpSearchToggle:checked + .itk-header__inner .itk-spIcon--close{ display:block; }

/* =========================
   Header Cart badge override
========================= */
.itk-header__icons .ec-cartNavi.itk-cartLink .itk-cartIcon{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}
.itk-header__icons .ec-cartNavi.itk-cartLink .itk-cartIcon .ec-cartNavi__badge{
  left: auto !important;
  right: -8px !important;
  top: -6px !important;

  padding: 0 5px !important;
  min-width: 18px !important;
  height: 18px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  line-height: 1 !important;
  text-align: center !important;

  border-radius: 999px !important;
  box-shadow: 0 0 0 2px #fff;
}

/* =========================
   Header SVG: size & color lock (PC/SP)
========================= */
.itk-header__icons svg,
.itk-header__spBar svg{
  width: 22px !important;
  height: 22px !important;
  display: block !important;
}

.itk-header__spBar .itk-spBtn{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

/* SVGの色が勝手に付く問題：ヘッダー内の色を固定 */
.itk-header__icons,
.itk-header__spBar{
  color: rgba(0,0,0,.82);
}
.itk-header__icons a,
.itk-header__spBar a{
  color: inherit;
}

/* =========================
   SP search toggle icons fix
========================= */
@media (max-width: 991px){
  .itk-header__spBar .itk-spIcon--search{ display: block !important; }
  .itk-header__spBar .itk-spIcon--close { display: none !important; }

  #itkSpSearchToggle:checked ~ .itk-header__inner .itk-spIcon--search{ display: none !important; }
  #itkSpSearchToggle:checked ~ .itk-header__inner .itk-spIcon--close { display: block !important; }
}

/* =========================
   PC cart icon: stop flex shrink
========================= */
@media (min-width: 992px){

  .itk-header__icons .ec-cartNavi.itk-cartLink .ec-cartNavi__icon.itk-cartIcon{
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    min-width: 32px !important;
  }

  .itk-header__icons .ec-cartNavi.itk-cartLink .ec-cartNavi__icon.itk-cartIcon > svg{
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    width: 26px !important;
    height: 26px !important;
  }

  .itk-header__icons .ec-cartNavi.itk-cartLink .ec-cartNavi__badge{
    flex-shrink: 0 !important;
  }

  .itk-header__icons .ec-cartNavi.itk-cartLink .itk-cartIcon .ec-cartNavi__badge{
    right: 3px !important;
    top: -7px !important;
  }
}

/* 検索ボタン内のSVG色とサイズ */
.itk-headerSearch .ec-headerSearch__keywordBtn{
  color: rgba(0,0,0,.82);
}
.itk-headerSearch .ec-headerSearch__keywordBtn .itk-ico--search{
  width: 20px;
  height: 20px;
  display: block;
}

@media (min-width: 992px){
  .itk-mega__lv1Btn.is-locked{
    border-color: rgba(0,0,0,.38);
    background: rgba(0,0,0,.05);
  }
  /* Chrome / Edge */
  .itk-mega__lv2Wrap::-webkit-scrollbar{
    width: 6px;
  }

  .itk-mega__lv2Wrap::-webkit-scrollbar-track{
    background: transparent;
  }

  .itk-mega__lv2Wrap::-webkit-scrollbar-thumb{
    background: rgba(0,0,0,.15);
    border-radius: 999px;
  }

  .itk-mega__lv2Wrap::-webkit-scrollbar-thumb:hover{
    background: rgba(0,0,0,.25);
  }

  /* Firefox */
  .itk-mega__lv2Wrap{
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,.15) transparent;
  }

  .itk-mega__lv1Btn.is-locked ~ .itk-mega__lv2Wrap .itk-mega__lv2All{
    color: rgba(0,0,0,.95);
    border-bottom-color: rgba(0,0,0,.35);
  }

  .itk-mega__lv2Wrap{
    position: relative;
  }

  .itk-mega__lv1Btn.is-locked ~ .itk-mega__lv2Wrap::before{
    content:"";
    position:absolute;
    left:-1px;
    top:16px;
    bottom:16px;
    width:2px;
    background: rgba(0,0,0,.35);
    border-radius:2px;
  }
}


/* ====================================
   02-sp. Header / Drawer (FINAL)
   - SP Drawer overlay + close button
   - Body scroll lock
   - Auth buttons (LOWYA tone)
   - Category (3 levels, +/-, >, aligned icon column)
   - Footer links with ｜ separators
   - SNS (use PC footer SVG, circle)

	Drawer幅 → .itk-drawer { width: min(88vw, 380px); }
	＋/－の見た目 → .itk-catToggle と .itk-catPlus/.itk-catMinus
	子カテゴリの行間 → .itk-subLink { padding: 10px 0; }
	第2/第3インデント → .itk-subList / .itk-subList--lv3
	会社情報リンクの間隔 → .itk-drawerFootLinks { gap: 6px; }
	SNS丸の大きさ → .itk-drawerSNS .it-footer__snsLink { width/height }
==================================== */

/* Drawer trigger (hamburger) */
.itk-drawerTrigger{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  padding: 0;
}
.itk-hamburger{
  width: 18px;
  height: 12px;
  position: relative;
}
.itk-hamburger::before,
.itk-hamburger::after{
  content:"";
  position:absolute;
  left:0; right:0;
  height:2px;
  background:#111;
  border-radius: 2px;
}
.itk-hamburger::before{ top:0; }
.itk-hamburger::after{ bottom:0; }

/* Drawer overlay + close */
.itk-drawerOverlay{
  position: fixed;
  inset: 0;
  z-index: 200000;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .22s ease;
}
.itk-drawerOverlay.is-open{ opacity: 1; }

.itk-drawerClose{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: 0;
  display: grid;
  place-items: center;
}

.itk-drawerClose svg{
  width: 24px;
  height: 24px;
  stroke: #fff;
  fill: none;
}


/* Drawer panel */
.itk-drawer{
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: min(88vw, 380px);
  background: #fff;
  transform: translateX(-102%);
  transition: transform .22s ease;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.itk-drawerOverlay.is-open .itk-drawer{
  transform: translateX(0);
}
.itk-drawerInner{
  padding: 14px 14px 18px;
}

/* Body scroll lock while drawer open (JS sets body top) */
body.itk-drawerOpen{
  position: fixed;
  left: 0; right: 0;
  overflow: hidden;
  width: 100%;
}

/* =========================
   SP-only styling
========================= */
@media (max-width: 991px){

  /* ---------- Auth block ---------- */
  .itk-drawerAuth{
    padding: 14px 0 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,.08);
  }
  .itk-drawerHello{
    margin: 0 0 16px;
    font-size: 14px;
    letter-spacing: .04em;
    opacity: .85;
  }

  .itk-drawerBtn{
    width: 100%;
    display:flex;
    align-items:center;
    justify-content: space-between;
    gap: 10px;

    text-decoration:none;
    padding: 14px 16px;
    margin: 10px 0;

    font-size: 14px;
    letter-spacing: .04em;
    border-radius: 2px;
  }

  .itk-drawerBtn--primary{
    background:#111;
  }
  .itk-drawerBtn--primary,
  .itk-drawerBtn--primary *{
    color:#fff !important; /* 黒ボタンの文字を確実に白 */
  }

  .itk-drawerBtn--ghost{
    background:#fff;
    color:#111;
    border: 1px solid rgba(0,0,0,.35);
  }

  /* 矢印（3ボタン共通） */
  .itk-drawerArrow{
    margin-left: auto;
    display:inline-flex;
  }
  .itk-drawerArrow .itk-ico{
    width: 18px;
    height: 18px;
    opacity: .7;
  }

  /* ---------- Category ---------- */
  :root{ --itk-drawer-iconcol: 44px; }

  .itk-drawerCats{
    text-align:left;
  }
  .itk-drawerSectionTitle{
    margin: 14px 0 8px;
    font-weight: 600;
    letter-spacing: .04em;
  }

  .itk-catList{ list-style:none; margin:0; padding:0; }
  .itk-catItem{ border-top:1px solid rgba(0,0,0,.08); }

  .itk-catRow{
    display:flex;
    align-items:center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    flex-direction: row;
  }

  /* 親カテゴリ：flex解除して左寄せ固定（中央寄せ事故防止） */
  a.itk-catLink{
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    margin: 0;
    text-align: left;
    justify-self: start;
    color:#111;
    text-decoration:none;
    white-space: normal;
    line-height: 1.3;
  }

  .itk-drawerCats .itk-catRow{
    justify-content: flex-start !important;
  }
  
  .itk-drawerCats .itk-catLink{
    flex: 1 1 auto !important;
    text-align: left !important;
    display: block !important;
  }
  
  .itk-drawerCats .itk-catRow > .itk-catToggle,
  .itk-drawerCats .itk-catRow > .itk-catChevron{
    margin-left: auto !important; /* 右端固定 */
  }
  /* 右端アイコン列：＋/－ と ＞ を完全に同じ位置へ */
  .itk-catToggle,
  .itk-catChevron{
    width: var(--itk-drawer-iconcol);
    flex: 0 0 var(--itk-drawer-iconcol);
    display: grid;
    place-items: center;
    margin-left: auto;
    text-align: center;
  }

  /* ＋/－ボタン（目立たせる） */
  .itk-catToggle{
    height: var(--itk-drawer-iconcol);
    border: 0;
    background: #f4f4f4;
    border-radius: 10px;
    color:#111;
  }
  .itk-catMinus{ display:none; }
  .itk-catToggle[aria-expanded="true"] .itk-catPlus{ display:none; }
  .itk-catToggle[aria-expanded="true"] .itk-catMinus{ display:inline; }

  .itk-catPlus,
  .itk-catMinus{
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    color: rgba(0,0,0,.78);
  }

  /* ＞ */
  .itk-catChevron{
    font-size: 20px;
    line-height: 1;
    opacity: .75;
    color: rgba(0,0,0,.55);
  }

  /* 子カテゴリ（第2/第3階層） */
  .itk-subList{
    list-style:none;
    margin: 0 0 10px;
    padding: 0 0 6px 18px;   /* 第2階層インデント */
    border-left: none;
  }
  .itk-subList--lv3{
    padding-left: 34px;      /* 第3階層追加インデント */
  }

  .itk-subItem{ padding: 0; }

  .itk-subLink{
    display:flex;
    align-items:center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;         /* 行間詰め */
    text-decoration:none;
    color: rgba(0,0,0,.82);
  }
  .itk-subText{
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.25;
  }

  /* ---------- Foot ---------- */
  .itk-drawerFoot{
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,.08);
  }

  /* 会社情報リンク：横並び＋｜ */
  .itk-drawerFootLinks{
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 12px;
  }
  .itk-drawerFootLinks a{
    color: rgba(0,0,0,.75);
    text-decoration: none;
    padding: 0 4px;
  }
  .itk-drawerFootLinks a + a::before{
    content: "｜";
    margin-right: 6px;
    color: rgba(0,0,0,.4);
  }

  /* SNS：PCフッターの .it-footer__snsLink を流用（色だけ黒に） */
  .itk-drawerSNS{
    margin-top: 18px;
    display: flex;
    justify-content: center;
  }

  .itk-drawerSNS .it-footer__snsLink{
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,.25);
    border-radius: 50%;
    transition: opacity .2s ease;
  }
  .itk-drawerSNS .it-footer__snsLink:hover{ opacity: .7; }

  .itk-drawerSNS .it-footer__snsLink svg{
    width: 18px;
    height: 18px;
    fill: #111;
  }
}


/* ====================================
   03. 商品一覧
==================================== */

/* 本文だけ文字色を濃く（ヘッダー/フッターには影響させない） */
body.product_page .ec-layoutRole__main,
body.product_page .ec-layoutRole__main p,
body.product_page .ec-layoutRole__main li,
body.product_page .ec-layoutRole__main span,
body.product_page .ec-layoutRole__main div{
  color: #111;
}

/* 見出し */
body.product_page .ec-layoutRole__main h1,
body.product_page .ec-layoutRole__main h2,
body.product_page .ec-layoutRole__main h3{
  color: #111;
}

/* 価格（現状の赤を維持：必要なら #111 に変更OK） */
body.product_page .price02-default{
  color: #c00 !important;
  font-weight: 600;
}

/* 画像ラッパー */
.itk-imageWrap{
  position: relative;
  overflow: hidden;
}

/* 三角SOLD */
.itk-soldBadge{
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 90px solid #111;
  border-right: 90px solid transparent;
  z-index: 2;
}

.itk-soldBadge::after{
  content: "SOLD";
  position: absolute;
  top: -65px;
  left: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: .15em;
  transform: rotate(-45deg);
}

/* 商品一覧 画像ホバー（じんわり） */
.ec-shelfGrid__item-image img{
  transition: opacity .4s ease;
}
.ec-shelfGrid__item:hover .ec-shelfGrid__item-image img{
  opacity: .75;
}

/* 一覧：pの余白整理 */
.ec-shelfGrid__item p{
  margin: 0;
}

/* 商品名（3行で省略） */
.ec-shelfGrid__item a > p:nth-of-type(2){
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  min-height: 4.5em; /* 1.5 × 3行 */
}

/* 一覧用ステータス（タグ） */
.itk-productStatus{
  display: flex;
  justify-content: flex-end;  /* 右寄せ維持 */
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.itk-productStatus__item{
  font-size: 11px;
  padding: 3px 8px;
  border: 1px solid #000;
  background: #000;
  color: #fff !important;
  line-height: 1;
  border-radius: 999px;
}

/* ----------------------------
   タグ＋価格 横並び（推奨：.itk-priceRow をTwigで追加）
---------------------------- */
.itk-priceRow{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
}

/* .itk-priceRow 内ではタグを右寄せではなく自然な並びに */
.itk-priceRow .itk-productStatus{
  justify-content: flex-start;
}

/* .itk-priceRow 内の価格は上マージン不要 */
.itk-priceRow .price02-default{
  margin-top: 0;
  white-space: nowrap;
}

/* ----------------------------
   Twigを触らない場合の近似（ul → price を“できるだけ”横並びに）
   ※完全には揃いにくいので、できれば .itk-priceRow を入れるのがおすすめ
---------------------------- */
.ec-shelfGrid__item .itk-productStatus{
  margin-top: 6px;
}
.ec-shelfGrid__item .itk-productStatus + .price02-default{
  margin-top: 6px;
}

/* ============================
   カテゴリ説明（CSSだけで回り込み成立）
   PC：右に画像、テキストは画像の左→画像下で全幅
   SP：画像はテキスト下で100%
============================ */
.itk-categoryDesc{
  margin: 20px 0;
}

.itk-categoryDesc__text{
  padding: 24px 28px;
  line-height: 1.8;
  color: #000;
  background: #f4f4f4;
}

.itk-categoryDesc__text h2{
  font-size: 22px;
  font-weight: 700;
  margin-top: 14px;
  margin-bottom: 4px;
}

.itk-categoryDesc__text p{
  margin-top: 14px;
}

/* PC：画像を右に回り込み */
.itk-categoryDesc__text .itk-categoryDesc__image{
  float: right;
  width: 55%;
  margin: 16px 0 16px 24px; 
}

.itk-categoryDesc__text .itk-categoryDesc__image img{
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* floatの解除（テキスト枠を閉じる） */
.itk-categoryDesc__text::after{
  content: "";
  display: block;
  clear: both;
}

/* SP：画像は下で100% */
@media (max-width: 767px){
  .itk-categoryDesc__text .itk-categoryDesc__image{
    float: none;
    width: 100%;
    margin: 10px 0 0;
  }
}


/* ====================================
   04. フッター
==================================== */
.it-footerGuide__bleed{
  background: #e9e7e3;
  width: 100%;
  margin-top: 40px;
  position: relative;
  left: auto;
  transform: none;
  margin-left: 0;
  margin-right: 0;
}

.it-footerGuide__container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

.it-footerGuide__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.it-footerGuide__title{
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 600;
}

.it-footerGuide__title::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(212,175,55,0.9),
    rgba(212,175,55,0.2)
  );
}


.it-footerGuide__item p{
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 14px;
  color: #333;
}

.it-footerGuide__link{
  font-size: 13px;
  color: #000;
  text-decoration: none;
  position: relative;
}

.it-footerGuide__link::after{
  content: "›";
  margin-left: 6px;
}

.it-footerGuide__btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 14px 28px;
  border-radius: 999px;

  background: linear-gradient(180deg, #1f2a35 0%, #131b23 100%);
  color: #fff;
  text-decoration: none;

  border: 1px solid rgba(212,175,55,0.6);
  box-shadow:
    0 15px 35px rgba(0,0,0,0.25),
    inset 0 0 0 1px rgba(212,175,55,0.2);

  transition: all .35s ease;
}

/* 右矢印（上品） */
.it-footerGuide__btn::after{
  content: "›";
  font-size: 18px;
  line-height: 1;
  opacity: .9;
  transform: translateY(-1px);
}

/* hover */
.it-footerGuide__btn:hover{
  transform: translateY(-3px);
  box-shadow:
    0 20px 45px rgba(0,0,0,0.3),
    inset 0 0 0 1px rgba(212,175,55,0.4);
}

.it-footerGuide__btn:hover::before{
  transform: translateX(130%);
}

.it-footerGuide__company{
  margin-top: 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #555;
}

.it-footerGuide__contact .name{
  display:block ;
  font-weight:600 ;
}


/* SP */
@media (max-width: 767px){
  .it-footerGuide__grid{
    grid-template-columns: 1fr;
    gap: 30px;
  }
}


.it-footer {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.it-footer__bleed{
  background: #070707;
  width: 100%;
  position: relative;
  left: auto;
  transform: none;
  margin-left: 0;
  margin-right: 0;
}

.it-footer__container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 20px 44px;
  position: relative;
}

.it-footer__top{
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 42px;
  align-items: start;
}

.it-footer__logo{
  display: inline-block;
  font-size: 28px;
  letter-spacing: .08em;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.it-footer__note{
  margin-top: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
}

.it-footer__sns{
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.it-footer__snsLink{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}

.it-footer__snsLink svg{
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,0.86);
}

.it-footer__snsLink:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.06);
}

.it-footer__copy{
  display: inline-block;
  margin-top: 18px;
  color: rgba(255,255,255,0.55);
}

.it-footer__nav{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding-top: 6px;
}

.it-footer__colTitle{
  color: #fff;
  font-weight: 600;
  letter-spacing: .06em;
  margin: 0 0 12px;
}

.it-footer__list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.it-footer__list li{
  margin: 10px 0;
}

.it-footer__list a{
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.it-footer__list a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: rgba(255,255,255,0.55);
  transition: width .25s ease;
}

.it-footer__list a:hover{
  color: #fff;
}

.it-footer__list a:hover::after{
  width: 100%;
}


/* SP */
@media (max-width: 767px){
  .it-footer__container{
    padding: 44px 16px 36px;
  }
  .it-footer__top{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .it-footer__nav{
    grid-template-columns: 1fr;
    gap: 18px;
  }
}


/* ===============================
   Page Top Button (Premium)
================================ */
.ec-blockTopBtn.pagetop{
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e9e7e3;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  cursor: pointer;
  z-index: 100;

  /* 文字を隠す */
  font-size: 0;
  color: transparent;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 1;
  pointer-events: auto;
  transition: opacity .4s ease, transform .3s ease, box-shadow .3s ease;
}

/* 矢印を疑似要素で作る */
.ec-blockTopBtn.pagetop::before{
  content: "";
  width: 18px;
  height: 18px;
  border-top: 2px solid #222;
  border-right: 2px solid #222;
  transform: rotate(-45deg);
  margin-top: 6px;
}

/* hover */
.ec-blockTopBtn.pagetop:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.22);
}

/* 表示用クラス（JSで付与） */
.ec-blockTopBtn.pagetop.is-visible{
  opacity: 1;
  pointer-events: auto;
}


/* ====================================
   05. 商品詳細
==================================== */
.itk-pDetail{
  color:#111;
}

/* レイアウト（PC） */
@media (min-width: 992px){
  .itk-pDetail__main{
    display:grid;
    grid-template-columns: minmax(520px, 1.2fr) minmax(360px, 0.8fr);
    gap: 40px;
    align-items:start;
  }
}

/* ギャラリー */
.itk-pDetail__gallery{
  position:relative;
}
.itk-pDetail__gallery img{
  display:block;
  width:100%;
  height:auto;
}

/* 右カラム（購入情報） */
.itk-pDetail__buy{
  position:relative;
}
@media (min-width: 992px){
  .itk-pDetail__buyInner{
    position:sticky;
    top: 24px; /* ヘッダー高さに合わせて後で微調整 */
  }
}

.itk-pDetail__title{
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: .02em;
  font-weight: 600;
  margin: 0 0 12px;
}
@media (min-width: 992px){
  .itk-pDetail__title{ font-size: 26px; }
}

.itk-pDetail__meta{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  margin: 0 0 12px;
  color:#666;
  font-size: 13px;
}

/* 価格 + ステータス（listの横並び思想を継承） */
.itk-pDetail__priceRow{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid #e6e2db;
  border-bottom: 1px solid #e6e2db;
  margin: 14px 0 18px;
}
.itk-pDetail__price{
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .01em;
}
.itk-pDetail__status{
  font-size: 12px;
  color:#666;
}

/* タグ（右寄せの思想を継承） */
.itk-pDetail__tags{
  display:flex;
  gap:8px;
  justify-content:flex-end;
  flex-wrap:wrap;
  margin: 0 0 12px;
}
.itk-pDetail__tag{
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid #e6e2db;
  border-radius: 999px;
  color:#333;
  background:#fff;
}

/* CTA */
.itk-pDetail__cta{
  display:grid;
  gap: 10px;
  margin-top: 14px;
}
.itk-pDetail__btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  width:100%;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid #111;
  background:#111;
  color:#fff;
  text-decoration:none;
  transition: transform .18s ease, opacity .18s ease;
}
.itk-pDetail__btn:hover{
  opacity:.92;
  transform: translateY(-1px);
}
.itk-pDetail__btn.is-outline{
  background:#fff;
  color:#111;
}

/* 下部：説明ブロック（タブ/アコーディオン前提の見た目） */
.itk-pDetail__section{
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #e6e2db;
}
.itk-pDetail__sectionTitle{
  font-size: 16px;
  font-weight: 600;
  letter-spacing:.02em;
  margin: 0 0 10px;
}
.itk-pDetail__text{
  color:#333;
  line-height: 1.9;
  font-size: 14px;
}

/* SP：下部固定CTA（任意。まず見た目だけ） */
@media (max-width: 991px){
  .itk-pDetail__stickyCta{
    position: fixed;
    left:0; right:0; bottom:0;
    padding: 10px 12px;
    background: rgba(255,255,255,.92);
    border-top: 1px solid #e6e2db;
    backdrop-filter: blur(6px);
    z-index: 50;
  }
  .itk-pDetail__stickyCta .itk-pDetail__btn{
    min-height: 46px;
  }
}


/* ====================================
   06. ブロック
==================================== */

/* ---- TOPページだけ：横スクロールを封じる（slickの環境差対策）---- */
body.front_page{
  overflow-x: hidden;
}

/* =========================
   1) TOP Slider 横100%
========================= */
.front_page .ec-sliderRole{
  margin: 0;
  padding: 0;
}

.front_page .main_visual{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  padding-bottom: 40px;
  margin-bottom: 0;
}

.front_page .main_visual .slick-dots{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  z-index: 5;
}

/* slickの内部ははみ出しを切る */
.front_page .main_visual,
.front_page .main_visual .slick-list{
  overflow: hidden;
}

.front_page .main_visual img{
  width: 100%;
  height: auto;
  display: block;
}

/* リンクを確実に効かせる */
.front_page .main_visual .item > a{
  display: block;
  position: relative;
  z-index: 1;
}

/* 左右暗く・中央だけ元色（overlay方式） */
.front_page .main_visual .item{
  position: relative;
}

.front_page .main_visual .item::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.50); /* 暗さ（0.35〜0.55で調整） */
  transition: .4s;
  pointer-events:none;         /* ←リンクを殺さない */
  z-index: 2;
}

/* 中央（主役）は暗さゼロ */
.front_page .main_visual .slick-current .item::after,
.front_page .main_visual .slick-center  .item::after{
  background: rgba(0,0,0,0);
}

/* 念のため：別CSSのopacity/filterが残っても中央を元に戻す */
.front_page .main_visual .slick-current img,
.front_page .main_visual .slick-center  img{
  opacity: 1 !important;
  filter: none !important;
}


/* ====================================
   2) TOPカテゴリ：4列グリッド：背景だけ100%
==================================== */
.front_page .ec-categoryRole{
  background: #f4f4f4;
  width: 100%;
  padding: 60px 0;
}

/* 中身（1100px枠）はそのまま */
.front_page .ec-categoryRole .ec-role{
  background: transparent !important;
}

.front_page .ec-categoryRole{
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* TOP カテゴリを4列グリッドに */
.front_page .ec-categoryRole__list{
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
}

/* 旧flex指定を完全解除 */
.front_page .ec-categoryRole__listItem{
  width: 100% !important;
  min-width: 0 !important;
  flex: none !important;
  margin: 0;
}

/* 画像サイズ統一 */
.front_page .ec-categoryRole__listItem img{
  width: 100% !important;
  aspect-ratio: 16 / 6 !important;
  object-fit: cover !important;
  display: block !important;
}

.front_page .topCat{
  display: block;
  text-decoration: none;
}

.front_page .topCat__title{
  margin: 5px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #000;
}

.front_page .topCat__desc{
  margin: 5px 0 0;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 767px){
  .front_page .ec-categoryRole__list{
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}


/* ====================================
   3) TOPICS：2列グリッド：背景だけ100%
==================================== */
.front_page .ec-topicRole{
  background: #f4f4f4;
  width: 100%;
  padding: 60px 0;
}

/* 中身（1100px枠）はそのまま */
.front_page .ec-topicRole .ec-role{
  background: transparent !important;
}

.front_page .ec-topicRole{
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* TOP TOPICSを2列グリッドに */
.front_page .ec-topicRole__list{
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 30px !important;
}

/* 旧flex無効化 */
.front_page .ec-topicRole__listItem{
  width: 100% !important;
  min-width: 0 !important;
  flex: none !important;
  margin: 0;
}

/* 画像サイズ統一 */
.front_page .ec-topicRole__listItem img{
  width: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* タイトル調整 */
.front_page .ec-topicRole__listItemTitle{
  margin-top: 10px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 767px){
  .front_page .ec-topicRole__list{
    grid-template-columns: 1fr !important;
  }
}


/* ====================================
   4) TOPおすすめ：5列グリッド
==================================== */
.front_page .ec-shelfRole{
  padding: 60px 0 0;
}

/* 5列表示 */
.front_page .recommendGrid{
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 0px !important;
}

/* 旧flex無効化 */
.front_page .recommendGrid .ec-shelfGrid__item{
  width: 100% !important;
  flex: none !important;
}

/* 正方形＋枠 */
.front_page .recommendItem img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border: 1px solid #eee; 
}

.front_page .recommendItem .item_name{
  margin: 5px 0 0;
  font-size: 15px;
  font-weight: normal;
  color: #000;
}

.front_page .recommendItem .item_price{
  margin: 5px 0 0;
  font-size: 14px;
  color: #c00;
  line-height: 1.5;
}

/* スマホは2列 */
@media (max-width: 767px){
  .front_page .recommendGrid{
    grid-template-columns: repeat(2, 1fr) !important;
  }
}


/* ====================================
   5) TOP PickUp ITEM：5列グリッド
==================================== */
/* PickUp セクション：背景だけを全幅に */
.front_page .ec-shelfRole.pickUp{
  position: relative;
  padding: 60px 0 0;
}

/* 背景レイヤー */
.front_page .ec-shelfRole.pickUp::before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: #f4f4f4;
  z-index: 0;
}

/* 中身を前面に */
.front_page .ec-shelfRole.pickUp .ec-role{
  position: relative;
  z-index: 1;
  background: transparent !important;
}

/* PickUp：5列グリッド（おすすめ商品と同じ方向性） */
.front_page .pickUpGrid{
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 0px !important;
}

/* 旧flex/width系の打ち消し */
.front_page .pickUpGrid .ec-shelfGrid__item{
  width: 100% !important;
  min-width: 0 !important;
  flex: none !important;
}

.front_page .pickUpItem img{
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  display: block !important;
  border: 1px solid #eee;
}

.front_page .pickUpItem .item_name{
  margin: 5px 0 0;
  font-size: 15px;
  font-weight: normal;
  color: #000;
}

.front_page .pickUpItem .item_price{
  margin: 5px 0 0;
  font-size: 14px;
  color: #c00;
  line-height: 1.5;
}

/* スマホ：2列 */
@media (max-width: 767px){
  .front_page .pickUpGrid{
    grid-template-columns: repeat(2, 1fr) !important;
  }
}


/* ====================================
   6) recommend_category
==================================== */
.front_page .recommendCatBlock{
  position: relative;
  padding: 60px 0 0;
}

/* 5列グリッド */
.front_page .recommendCatGrid--featured{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

/* 上下セクション間の余白 */
.front_page .recommendCatGrid--mt{
  margin-top: 50px;
}

.front_page .recommendCatHeroWide{
  grid-column: span 2;
  aspect-ratio: 2 / 1;
  background: #fff;
  border-top: 1px solid #3b2b22;
  display: grid;
  place-items: center;
}

.front_page .recommendCatHeroWide::before{
  display: none; 
}

.front_page .recommendCatHeroWide__inner{
  text-align: center;
}

.front_page .recommendCatHeroWide__en{
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(34,34,34,0.6);
}

.front_page .recommendCatHeroWide__ja{
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #222;;
}

.front_page .recommendCatLink{
  display: block;
  text-decoration: none;
}

.front_page .recommendCatLink img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border: 1px solid #eee;
}

/* タイトル */
.front_page .recommendCatTitle{
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

@media (max-width: 767px){
  .front_page .recommendCatGrid--featured{
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .front_page .recommendCatHeroWide{
    grid-column: 1 / -1;
    aspect-ratio: 5 / 1; 
    padding: 0;
  }
  /* 中の文字も少しコンパクトに */
  .front_page .recommendCatHeroWide__en{
    margin: 0 0 6px;
    font-size: 10px;
  }
  .front_page .recommendCatHeroWide__ja{
    font-size: 16px;
    font-weight: 600;
  }
}


/* ====================================
   7) new item：自動取得ブロック
==================================== */
.ec-newItemRole{
  margin:0;
  padding:40px 0 ;
}
.ec-newItemRole__list .ec-newItemRole__listItem{
  background: #f4f4f4;
}
.ec-newItemRole__listItem.__getAutoNewItemBlock{
  background: #fff;
}
.ec-newItemRole img{
  border: 1px solid #eee;
}
.ec-newItemRole .ec-newItemRole__listItemTitle{
  margin: 5px 0 0;
  font-size: 15px;
  font-weight: normal;
  color: #000;
}
.ec-newItemRole .ec-newItemRole__listItemPrice{
  margin: 5px 0 0;
  font-size: 14px;
  color: #c00;
  line-height: 1.5;
}


/* ====================================
   7) eyecatch
==================================== */
/* 2段目だけ左右反転（PC） */
.front_page .ec-eyecatchRole.is-reverse{
  flex-direction: row-reverse;
}

/* 段と段の間隔（必要なら） */
.front_page .eyecatchBlock{
  margin-bottom: 30px;
}
.front_page .eyecatchBlock:last-child{
  margin-bottom: 0;
}

/* 下段（左右反転時）の余白調整 */
.front_page .ec-eyecatchRole.is-reverse .ec-eyecatchRole__intro{
  padding-left: 60px;
}

/* 画像とテキストの比率を調整 */
.front_page .ec-eyecatchRole{
  display: flex;
  align-items: center;
}

/* テキスト側 */
.front_page .ec-eyecatchRole__intro{
  width: 55%;
}

/* 画像側 */
.front_page .ec-eyecatchRole__image{
  width: 45%;
}

/* 画像を枠いっぱいに */
.front_page .ec-eyecatchRole__image img{
  width: 100%;
  height: auto;
  display: block;
}

/* ===========================
   eyecatchの区切り（上：最初の段 / 下：最後の段）
   =========================== */

/* 上：最初の段 */
.front_page .ec-eyecatchRole:first-of-type{
  position: relative;
  padding-top: 40px; /* 線の分だけ上に余白 */
}

.front_page .ec-eyecatchRole:first-of-type::before{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;

  width: 100vw;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0,0,0,0.15),
    transparent
  );
}

.front_page .ec-eyecatchRole:last-of-type{
  position: relative;
  padding-bottom: 10px;
}

.front_page .ec-eyecatchRole:last-of-type::after{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;

  width: 100vw;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0,0,0,0.15),
    transparent
  );
}

@media (max-width: 767px){
  .front_page .ec-eyecatchRole{
    flex-direction: column;
  }
  .front_page .ec-eyecatchRole__intro,
  .front_page .ec-eyecatchRole__image{
    width: 100%;
  }
  .front_page .ec-eyecatchRole.is-reverse .ec-eyecatchRole__intro{
    padding-left: 0;
  }
  .front_page .ec-eyecatchRole:last-of-type{
    padding-bottom: 40px;
  }
}


/* ====================================
   07. Help 特商法 ご利用ガイド
==================================== */
/* ===========================
   特商法
   =========================== */
.ec-borderedDefs dd {
  line-height: 2.0; 
}

/* ===========================
   ご利用ガイド
   =========================== */
/* 上部ナビ（ボタン） */
.guide-nav{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 32px;
}
@media (max-width: 768px){
  .guide-nav{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px){
  .guide-nav{ grid-template-columns: 1fr; }
}

.guide-nav__btn{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid #d8dbe2;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  background: #fff;
}
.guide-nav__btn:hover{
  background: #f7f8fa;
}

/* 右の「∨」っぽい矢印 */
.guide-nav__arrow{
  width: 10px;
  height: 10px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  margin-left: 12px;
  flex: 0 0 auto;
}

/* セクション */
.guide-section{
  padding: 22px 0;
  border-bottom: 1px dashed #d8dbe2;
}
.guide-section__title{
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
}

/* 前回の行間調整（必要に応じて数値だけ調整） */
.guide-dd{
  line-height: 1.5;
}
.guide-dd br{
  display:block;
  margin-bottom: 2px;
}

/* ふわっとスクロール */
html{
  scroll-behavior: smooth;
}
