/*! SHIRO 0件・行き止まりの案内 共通CSS v1.0 2026-11-06（/ec/css/shiro-empty.css）
 * 使うところ：FAST RESERVE 0件表示（フッター部品 11xb0000000.html／fr-empty）と、行き止まりの案内（お取り扱いのない製品ページ・製品0件の一覧／shiro-deadend）
 * 方針：サイトの部品（見出し item-detail-bottom__title）をそのまま使い、ここでは並べ方と余白だけを決める。画面ごとにしか使わない部品は、それぞれのCSSに置く
 * 文字：本文14px・補足12px・注記11px／色 本文#393C41・補足#949494・罫線#CCCCCC・濃紺#000030／ブロックの間隔：SP 50px・PC 80px（サイトのブロック間隔）
 * 0件の目印：一覧の0件の案内 .shiro-empty[data-empty="list"]（cmProductList.html の #noCountProductIf の中にだけ出る）
 *            カテゴリー専用の案内（FAST RESERVE など）は [data-empty-own] を持ち、そのときは一覧の共通の案内を出さない */
.shiro-empty{color:#393C41;padding-bottom:50px}
/* 隠す指定（hidden）は必ず効かせる。ただし FAST RESERVE の外枠は自分のCSSで出し入れするので除く */
.shiro-empty:not([data-empty-own])[hidden],.shiro-empty [hidden]{display:none!important}
/* 行き止まりの案内（製品ページ・一覧）：本文幅に収める。FAST RESERVE はカテゴリーの枠の中なので付けない */
.shiro-empty[data-empty]{max-width:1080px;margin:0 auto;padding-left:16px;padding-right:16px;font-size:14px;line-height:1.7;text-align:left;box-sizing:border-box}
body:has([data-empty-own]) .shiro-empty[data-empty="list"]{display:none!important}

/* 状況：中央に置く（枠で囲むと警告に見えるため、余白で区切る） */
.shiro-empty__st{text-align:center;padding:24px 0 0}
.shiro-empty__st h2{font-size:16px;font-weight:400;line-height:1.75;color:#000030;margin:0 0 12px}
.shiro-empty__st p{font-size:13px;line-height:1.9;margin:0}

.shiro-empty__blk{margin-top:50px}

/* 手段の行：1行＝手段・用途・ボタン。ボタンは同じ幅で右に揃える */
.shiro-empty__ch{list-style:none;margin:0;padding:0;border-top:1px solid #CCCCCC}
.shiro-empty__ch>li{border-bottom:1px solid #CCCCCC;padding:16px 0;display:grid;grid-template-columns:1fr auto;gap:2px 16px;align-items:center}
.shiro-empty__ch b{font-weight:400;font-size:14px;line-height:1.6}
.shiro-empty__ch span{grid-column:1;font-size:12px;color:#949494;line-height:1.6}
.shiro-empty__btns{grid-column:2;grid-row:1/3;display:flex;gap:8px}
.shiro-empty__btn{display:flex;align-items:center;justify-content:center;width:120px;min-height:44px;padding:0 8px;box-sizing:border-box;font-size:13px;border:1px solid #000030;border-radius:3px;background:#fff;color:#393C41;text-decoration:none;white-space:nowrap;transition:opacity .2s}
.shiro-empty__btn:hover{opacity:.7}
/* リンクの印「＞」：サイトのボタン部品 c-button01 と同じ描き方（線2本を45度回す） */
.shiro-empty__btn{position:relative;padding:0 24px 0 12px}
.shiro-empty__btn::after{content:"";position:absolute;top:50%;right:10px;width:7px;height:7px;border-top:1px solid #000030;border-right:1px solid #000030;transform:translateY(-50%) rotate(45deg)}
/* 別のタブで開く外部リンク（LINE・アプリストア）は、サイトの外部リンクの印 ico_nw.svg（.c-link-text.--blank と同じ）を濃紺で */
.shiro-empty__btn[target="_blank"]::after{width:11px;height:11px;border:0;transform:translateY(-50%);background:#000030;-webkit-mask:url(/ec/images/icon/ico_nw.svg) center/contain no-repeat;mask:url(/ec/images/icon/ico_nw.svg) center/contain no-repeat}
/* 検索を開くボタン（search-modal-open）は、移動ではなく検索が開くため、ヘッダーと同じ虫眼鏡 */
.shiro-empty__btn.search-modal-open::after{right:9px;width:13px;height:13px;border:0;transform:translateY(-50%);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23000030' stroke='%23000030' stroke-width='2' paint-order='stroke' d='M65.31799,62.78064c5.0293-5.71814,8.08569-13.21387,8.08569-21.42773,0-17.93103-14.53589-32.46704-32.46704-32.46704S8.4696,23.42188,8.4696,41.35291s14.53613,32.46692,32.46704,32.46692c8.6377,0,16.48145-3.37952,22.29785-8.88037l26.1748,26.17468,2.12109-2.12109-26.2124-26.2124ZM40.93665,70.81982c-16.24829,0-29.46704-13.21875-29.46704-29.46692s13.21875-29.46704,29.46704-29.46704,29.46704,13.21887,29.46704,29.46704-13.21875,29.46692-29.46704,29.46692Z'/%3E%3C/svg%3E") no-repeat center/contain}
.shiro-empty__note{font-size:11px;color:#949494;line-height:1.7;margin:12px 0 0}

/* よく選ばれている製品（行き止まりの案内）：白地・画像は高さをそろえて下そろえ・足元に影 */
.shiro-empty__grid{display:grid;grid-template-columns:1fr 1fr;gap:28px 12px;list-style:none;margin:0;padding:0}
.shiro-empty__item:nth-child(n+7){display:none}
.shiro-empty__item a{display:block;text-decoration:none;color:inherit}
.shiro-empty__img{position:relative;display:flex;align-items:flex-end;justify-content:center;height:120px;margin-bottom:14px;background:#fff}
.shiro-empty__img img{display:block;width:auto;height:auto;max-width:72%;max-height:100%;object-fit:contain;position:relative;z-index:1}
.shiro-empty__img::after{content:"";position:absolute;left:50%;bottom:-5px;width:56%;height:10px;transform:translateX(-50%);background:radial-gradient(ellipse at center,rgba(0,0,0,.18) 0%,rgba(0,0,0,.06) 60%,rgba(0,0,0,0) 100%)}
.shiro-empty__name{display:block;font-size:13px;line-height:1.5;margin-top:6px}
.shiro-empty__price{display:block;font-size:12px;margin-top:2px}

/* SP：ボタンが2つの行（アプリなど）は、ボタンを文の下に並べる */
@media (max-width:768px){
  .shiro-empty__ch>li:has(.shiro-empty__btn+.shiro-empty__btn){grid-template-columns:1fr}
  .shiro-empty__ch>li:has(.shiro-empty__btn+.shiro-empty__btn) .shiro-empty__btns{grid-column:1;grid-row:auto;margin-top:10px}
  .shiro-empty__ch>li:has(.shiro-empty__btn+.shiro-empty__btn) .shiro-empty__btn{flex:1;width:auto}
}
@media (min-width:769px){
  .shiro-empty{padding-bottom:80px}
  .shiro-empty__st{padding-top:40px}
  .shiro-empty__st h2{font-size:20px;line-height:1.6;margin-bottom:16px}
  .shiro-empty__st p{font-size:14px}
  .shiro-empty__blk{margin-top:80px}
  .shiro-empty__btn{width:136px}
  /* PC：手段は3列。横長の1行だと名前とボタンが離れすぎるため、手段ごとにまとまりを作る */
  .shiro-empty__ch{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #CCCCCC}
  .shiro-empty__ch>li{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;border-bottom:0;padding:32px 16px;gap:4px}
  /* 列の区切り線は上下の罫線に付けず、内側で止める */
  .shiro-empty__ch>li+li::before{content:"";position:absolute;left:0;top:24px;bottom:24px;border-left:1px solid #CCCCCC}
  .shiro-empty__btns{margin-top:16px;justify-content:center}
  .shiro-empty__ch .shiro-empty__note,.shiro-empty__blk>.shiro-empty__note{text-align:center}
  .shiro-empty__grid{grid-template-columns:repeat(4,1fr);gap:40px 24px}
  .shiro-empty__item:nth-child(n+7){display:block}
  .shiro-empty__img{height:150px}
  .shiro-empty__name{font-size:14px}
}
