@charset "UTF-8";

/*
========================================

bnftblog_sort_paginations.css
2025
    
========================================*/

.filter {
  background-color: #292524; /*stone-800*/
  background-image: linear-gradient(#57534e 1px, transparent 1px), linear-gradient(90deg, #57534e 1px, transparent 1px), linear-gradient(#44403c 1px, transparent 1px), linear-gradient(90deg, #44403c 1px, transparent 1px); /*stone-600 & stone-700*/
  background-size: 80px 80px, 80px 80px, 8px 8px, 8px 8px;
  background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
}

.filter .filterblock {
  padding-bottom: 1px;
}

.filter a span.check,
.filter a span.radio {
  background: rgb(168, 162, 158, 0.05); /*stone-400*/
}

div.seachclear {
  position: sticky;
  top: 60px;
  z-index: 10;
}

p.categorytitle.title01,/*記事カテゴリー*/
p.categorytitle.title02,/*掲載年月*/
p.categorytitle.title03,/*エリア*/
p.categorytitle.title04 /*タグ（キーワード）*/ {
  text-align: center;
  padding: 8px 16px;
  font-size: clamp(0.75rem, 0.725rem + 0.13vw, 0.875rem); /*-----12px-14px*/
  background: #44403c; /*stone-700*/
  color: #f6efe5;
}

@media (min-width: 1024px) {
  div#sortDisplay {
    scroll-margin-top: 16px;
  }

  .filter {
    background: #f6efe5;
  }

  .filter .filterblock {
    background: #e9d8bf;
    border-left: 1px solid #44403c; /*stone-700*/
    border-right: 1px solid #44403c; /*stone-700*/
    border-bottom: 1px solid #44403c; /*stone-700*/
    padding: 8px;
  }

  .filter a span.check,
  .filter a span.radio {
    background: transparent;
  }

  div.seachclear {
    position: static;
  }

  p.categorytitle.title01,
  p.categorytitle.title02,
  p.categorytitle.title03,
  p.categorytitle.title04 {
    border-left: 2px solid #44403c; /*stone-700*/
    border-right: 2px solid #44403c; /*stone-700*/
  }
}

/*すべて表示*/

.filter a.all {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #f6efe5;
}

@media (min-width: 1024px) {
  .filter a.all {
    text-align: left;
    padding: 0 8px;
  }
  .filter a.all:hover {
    background: #fff;
  }
}

/*チェックボックス風*/

.filter a span.check {
  display: block;
  position: relative;
  width: auto;
  height: auto;
  padding: 8px 8px 8px 32px;
}

.filter a span.check::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 4px;
  /*margin: 0 8px 3px -4px;*/
  background: #a8a29e; /*stone-400*/

  left: 16px;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
}

.filter a.active span.check::before {
  background: #fcd34d; /*amber-300*/
}

@media (min-width: 1024px) {
  .filter a span.check {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
  }

  .filter a span.check::before,
  .filter a span.check::after {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background: transparent;
    border-radius: 2px;
    margin: 0;
    left: 0;
    top: 0;
    position: absolute;
    z-index: 2;
  }
  .filter a.active span.check::before,
  .filter a.active span.check::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 3px;
    background: #fcd34d; /*amber-300*/
    border-radius: 10px;
    transform: rotate(45deg);
    position: absolute;
    left: 2px;
    top: 4px;
    bottom: 1px;
    margin: auto 6px;
  }
  .filter a.active span.check::after {
    transform: rotate(-45deg);
    width: 12px;
    left: 5px;
    bottom: 3px;
  }
  .filter a.active span.check::before {
    animation: 0.4s check;
  }
  .filter a.active span.check::after {
    animation: 0.4s check-2;
  }
}

@keyframes check {
  0% {
    width: 5px;
    left: 2px;
  }
  25% {
    width: 8px;
    left: 2px;
  }
}

@keyframes check-2 {
  0% {
    width: 0px;
    left: 2px;
    bottom: 0px;
    opacity: 0;
  }
  25% {
    width: 5px;
    left: 2px;
    bottom: 3px;
    opacity: 0;
  }
  100% {
    width: 12px;
    left: 5px;
    bottom: 3px;
    opacity: 1;
  }
}

/*ラジオボタン風*/

.filter a span.radio {
  display: block;
  position: relative;
  width: auto;
  height: auto;
  padding-top: 8px;
  padding-left: 32px;
  padding-right: 8px;
  padding-bottom: 8px;
}

.filter a span.radio::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: transparent;
  border-radius: 24px;
  left: 16px;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  border: 1px solid #fff;
  z-index: 3;
}

.filter a span.radio::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: transparent;
  border-radius: 32px;
  left: 16px;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  border: 1px solid #fff;
  z-index: 2;
}

.filter a.active span.radio::before {
  /*中心の円*/
  background: #fcd34d; /*amber-300*/
  animation: radio 0.8s linear;
}

.filter a.active span.radio::after {
  background: #fff !important;
  border: 1px solid #cea973;
}

.filter a.all span.radio::before,
.filter a.all span.radio::after {
  border: 1px solid #cea973;
}

.filter a.all.active span.radio::before {
  border: 1px solid #fff;
}

@media (min-width: 1024px) {
  .filter a span.radio {
    width: 100%;
    padding-top: 10px;
    padding-left: 32px;
    padding-right: 8px;
    padding-bottom: 10px;
  }
}

@keyframes radio {
  0% {
    box-shadow: 0 0 0 1px transparent;
  }
  50% {
    box-shadow: 0 0 0 8px #e7e5e4; /*stone-200*/
  }
  100% {
    box-shadow: 0 0 0 8px transparent;
  }
}

/*
チェックボックス風　ラジオボタン風
共通設定
*/

div.main a.selectback {
  padding: 10px;
  font-size: clamp(0.75rem, 0.725rem + 0.13vw, 0.875rem); /*-----12px-14px*/
}

div.showresults {
  height: 100%;
}

div.showresults #show-results {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: clamp(0.75rem, 0.725rem + 0.13vw, 0.875rem); /*-----12px-14px*/
}

@media (min-width: 1024px) {
  div.showresults #show-results:hover {
    cursor: none;
  }
}

.filter a span.check,
.filter a span.radio {
  color: #f6efe5;
  font-size: clamp(0.813rem, 0.787rem + 0.13vw, 0.938rem); /*-----13px-15px*/
  /*font-size: clamp(0.875rem, 0.85rem + 0.13vw, 1rem); -----14px-16px*/
  /*font-size: clamp(0.75rem, 0.725rem + 0.13vw, 0.875rem); -----12px-14px*/
  /*font-size: clamp(0.625rem, 0.6rem + 0.13vw, 0.75rem); -----10px-12px*/
}

.filter a span.year {
  font-size: clamp(0.75rem, 0.725rem + 0.13vw, 0.875rem); /*-----12px-14px*/ /*掲載年月　check radio 共通*/
}

.filter .past span.days {
  font-size: clamp(0.75rem, 0.725rem + 0.13vw, 0.875rem); /*-----12px-14px*/ /*〇〇年〇月以前の記事*/
}

.filter a.all span.check, /*すべて表示の色*/
.filter a.all span.radio {
  background-color: transparent;
  color: #1c1917;
}

.filter a.active {
  /*選択中*/
  font-weight: 700;
}

.filter a.active span.check,
.filter a.active span.radio {
  background-color: #fff;
  color: #292524;
  filter: drop-shadow(5px 5px 0px rgba(0, 0, 0, 0.1));
}

.filter a.all.active {
  background-color: #fff;
}

.filter a.all.active span.check,
.filter a.all.active span.radio {
  background-color: #fff;
  color: #292524;
  filter: none;
}

@media (min-width: 1024px) {
  .filter a span.check,
  .filter a span.radio {
    color: #1c1917; /*stone-900*/
  }
}

/*色分け 
チェックボックス風　ラジオボタン風*/

.filter a.active span.ctg01::before/*,
.filter a.active span.ctg01::after*/ {
  background: #fbbf24;
}

.filter a.active span.ctg02::before/*,
.filter a.active span.ctg02::after*/ {
  background: #fb923c;
}

.filter a.active span.ctg03::before/*,
.filter a.active span.ctg03::after*/ {
  background: #f87171;
}

.filter a.active span.ctg04::before/*,
.filter a.active span.ctg04::after*/ {
  background: #c084fc;
}

/*ラジオボタン風（タグ扱い）*/

.filter a span.radio.tag {
  display: block;
  position: relative;
  width: auto !important;
  height: auto;

  padding-top: 10px;
  padding-left: 16px;
  padding-right: 10px;
  padding-bottom: 10px;
  margin: 0 4px 4px 0;

  border: 1px solid #a8a29e;
  font-size: clamp(0.625rem, 0.6rem + 0.13vw, 0.75rem); /*-----10px-12px*/
  line-height: 1.5;
}

.filter a span.radio.tag::before {
  content: "#";
  display: block;
  width: fit-content;
  height: fit-content;
  line-height: 1;
  background: transparent;
  border: 0;
  left: 8px;
}

.filter a.active span.radio.tag::before {
  animation: none;
  color: #f59e0b; /*amber-500*/
}

.filter a span.radio.tag::after {
  background: transparent !important;
  border: 0 !important;
}

@media (min-width: 1024px) {
  .filter a span.radio.tag {
    padding-top: 6px;
    padding-left: 24px;
    padding-right: 12px;
    padding-bottom: 6px;
    margin: 0 4px 4px 0;
    /*border: 1px solid #78716c;
    background-color: #e9d8bf;*/
    background-color: #44403c;
    color: #f6efe5;
  }

  .filter a.active span.radio.tag {
    background-color: #fff;
    border: 1px solid #44403c;
    color: #292524;
    filter: drop-shadow(4px 4px 0px rgba(0, 0, 0, 0.15));
  }

  .filter a span.radio.tag::before {
    left: 16px;
  }
}

.boxes {
  margin-bottom: 72px; /*pagination-height*/
  animation: fadein 1s forwards;
}

/*.boxes:last-child {
  margin-bottom: 72px;pagination-height
}*/

.is-animated {
  animation: 0.6s zoom-in;
  /*animation: 0.6s fadein;*/
}

@keyframes zoom-in {
  0% {
    transform: scale(0.1);
  }
  100% {
    transform: none;
  }
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

div.type04 a.tag {
  min-width: 33.3333%;
}

@media (min-width: 1024px) {
  div.type04.filterblock {
    background-color: rgba(41, 37, 36, 0.5); /*#292524;*/
  }

  div.bgwrap {
    background-image: linear-gradient(#a8a29e 1px, transparent 1px), linear-gradient(90deg, #a8a29e 1px, transparent 1px), linear-gradient(#d6d3d1 1px, transparent 1px), linear-gradient(90deg, #d6d3d1 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
    background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
  }
}

div.pagination {
  position: absolute; /*relative ---> .cases_list*/
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 72px;

  /*display: none !important; 　アイテムが少ない場合はページ送りの欄は表示しない -->　bnftblog_sort_pagination.js　(const itemsPerPage)　*/
}

div.pagination .prev,
div.pagination .next {
  margin: 0 8px;
}

div.pagination .disabled {
  opacity: 0.5;
}

span.page-numbers a {
  display: inline-block;
  width: 2rem;
  margin: 0 0.25rem;
  padding: 0.25rem 0;
  border: 2px solid #292524; /*stone-800*/
  background: #f6efe5; /*paper*/
  font-size: 1rem;
  font-family: "Zen Kaku Gothic New", monospace, Sans-Serif;
  font-display: swap;
  text-align: center;
}

span.page-numbers a.active {
  color: #f6efe5; /*paper*/
  border: 2px solid #292524; /*stone-800*/
  background: #292524; /*stone-800**/
}

/*
div.no-results {
  絞り込み件数0の場合
  width: 90%;
  max-width: 480px;
  height: fit-content;
  aspect-ratio: 4/3;
  margin: 10vh auto 14vh auto;
  padding: 10vh;
  animation: fadein 1s forwards;
  background: #c33 url(/common/cmn_img/img_top.webp) no-repeat;
  background-position: center;
  background-size: cover;
  filter: grayscale(100) opacity(0.5);
}

div.no-results p {
  display: flex;
  align-items: center;
  justify-content: center;
}

div.no-results p span.message {
  display: block;
  width: fit-content;
  white-space: nowrap;
  font-size: clamp(12px, 1vw, 16px);
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 8px;
}*/

div.no-results {
  /*絞り込み件数0の場合*/
  display: flex;
  width: 90%;
  max-width: 480px;
  height: fit-content;
  aspect-ratio: 1/1;
  margin: 10vh auto auto auto;
  padding: 10vh;
  animation: fadein 1s forwards;
  align-items: center;
  justify-content: center;
  border: 6px double #a8a29e; /*stone-400*/
  background-color: #f6efe5; /*paper*/
  background-image: url("/blog/benefit_blog/common/cmn_img/bg_no-results@2x.png"); /*fallback
    background-image: url("/blog/benefit_blog/common/cmn_img/bg_no-results.svg"), none;*/
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

div.no-results p {
  white-space: nowrap;
  text-align: center;
  /*font-size: 12px;*/
  font-size: clamp(12px, 1vw, 16px);
}

div.not-found {
  /*404対応*/
  display: flex;
  width: 90%;
  max-width: 960px;
  height: fit-content;
  aspect-ratio: 16/9;
  margin: 5vh auto auto auto;
  padding: 10vh;
  animation: fadein 1s forwards;
  align-items: center;
  justify-content: center;
  border: 6px double #a8a29e; /*stone-400*/
  background-color: #f6efe5; /*paper*/
  background-image: url("/blog/benefit_blog/common/cmn_img/bg_not-found@2x.png"); /*fallback
    background-image: url("/blog/benefit_blog/common/cmn_img/bg_not-found.svg"), none;*/
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

div.not-found p {
  white-space: nowrap;
  text-align: center;
  /*font-size: 12px;*/
  font-size: clamp(12px, 1vw, 17px);
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*絞り込み項目の表示*/

#selected-filters {
  background-color: #f6efe5; /*paper*/
  padding: 12px 8px 12px 96px;
  border: 1px solid #292524; /*stone-400*/
  background-image: url("/blog/benefit_blog/common/cmn_img/bg_selected.svg");
  background-repeat: no-repeat;
  background-position: center left;
  background-size: 96px 54px;
  display: flex;
  align-items: center;
  justify-content: start;
  flex-direction: row;
  flex-wrap: wrap;
}

#selected-filters span.selected-name {
  display: inline-block;
  width: fit-content;
  position: relative;
  padding: 0 16px;
  border-right: 2px solid #a8a29e; /*stone-400*/
  color: #292524; /*stone-800*/
  font-size: clamp(0.75rem, 0.675rem + 0.38vw, 1.125rem); /*-----12px-18px*/
  font-weight: 700;
}

@media (min-width: 1024px) {
  #selected-filters {
    background-color: #f6efe5; /*paper*/
    padding: 24px 16px 24px 160px;
    background-image: url("/blog/benefit_blog/common/cmn_img/bg_selected.svg");
    background-repeat: no-repeat;
    background-position: top left;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: start;
  }
}

/*----------------------------------------
	other parts
----------------------------------------*/

.badge {
  display: inline-block;
  padding-top: 0.2rem;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  padding-bottom: 0.25rem;
  vertical-align: text-top;
  margin-right: 0.2rem;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  text-align: center;
  border: 1px solid #292524; /*stone-800*/
  border-radius: 0;
}
.badge-category {
  font-weight: 500;
  color: #fff;
  border: none;
  background-color: #292524; /*stone-800*/
  /*font-size:0.8125rem;*/
  font-size: 0.9135rem;
  min-width: 96px;
}
.badge-category.category01 {
  color: #fbbf24; /*amber-400*/
}
.badge-category.category02 {
  color: #fb923c; /*orange-400*/
}
.badge-category.category03 {
  color: #f87171; /*red-400*/
}
.badge-category.category04 {
  color: #c084fc; /*purple-300*/
}

/*詳細記事ページ内*/

.blog_title .badge-category.category01 {
  border: 1px solid rgba(251, 191, 36, 0.5); /*amber-400*/
}
.blog_title .badge-category.category02 {
  border: 1px solid rgba(251, 146, 60, 0.5); /*orange-400*/
}
.blog_title .badge-category.category03 {
  border: 1px solid rgba(248, 113, 113, 0.5); /*red-400*/
}
.blog_title .badge-category.category04 {
  border: 1px solid rgba(192, 132, 252, 0.5); /*purple-300*/
}

/*blog_card　過去の記事 <div class="main past">
★ハイパフォーマーの関連記事リストにも使用。
*/

.past .badge-category {
  font-size: 0.75rem;
}

.badge-area {
  font-weight: 700;
  color: #fff;
  border: 1px solid #292524; /*stone-800*/
  font-size: 0.8125rem;
  min-width: 88px;
}
.badge-area.area01 {
  color: #422006; /*yellow-950*/
  border: 1px solid #f59e0b; /*amber-500*/
  background-image: linear-gradient(135deg, #fbbf24 0%, #fde68a 100%); /*400 -> 200*/
  background-color: rgba(255, 255, 255, 0.1); /*色を少し抑える*/
  background-blend-mode: lighten;
}
.badge-area.area02 {
  color: #422006; /*yellow-950*/
  border: 1px solid #f97316; /*orange-500*/
  background-image: linear-gradient(135deg, #fb923c 0%, #fed7aa 100%); /*400 -> 200*/
  background-color: rgba(255, 255, 255, 0.1); /*色を少し抑える*/
  background-blend-mode: lighten;
}
.badge-area.area03 {
  color: #451a03; /*amber-950*/
  border: 1px solid #f87171; /*red-400*/
  background-image: linear-gradient(135deg, #f87171 0%, #fecaca 100%); /*400 -> 200*/
  background-color: rgba(255, 255, 255, 0.3); /*色を少し抑える*/
  background-blend-mode: lighten;
}
.badge-area.area04 {
  color: #451a03; /*amber-950*/
  border: 1px solid #c084fc; /*purple-400*/
  background-image: linear-gradient(135deg, #c084fc 0%, #e9d5ff 100%); /*400 -> 200*/
  background-color: rgba(255, 255, 255, 0.3); /*色を少し抑える*/
  background-blend-mode: lighten;
}
.badge-tag {
  padding-top: 0.1rem;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
  padding-bottom: 0.15rem;
  font-weight: 500;
  border: 1px solid #292524; /*stone-800*/
  color: #292524; /*stone-800*/
  background-color: #fff;
  /*border-radius: 999px;*/
  font-size: 0.75rem;
  min-width: 64px;
}
.badge-new {
  padding: 0;
  border: none;
  /*margin-left: -1rem;*/
  margin-right: 0.5rem;
  padding: 0 0.5rem;
  color: #fff;
  border: 1px solid #dc2626; /*red-500*/
  /*border-left-width: 5px ;*/
  background-image: linear-gradient(135deg, #ef4444 0%, #ef4444 100%); /*600 -> 400*/
  /*background-color: rgba(255, 255, 255, 0.5);色を少し抑える
  background-blend-mode: lighten;*/
}

/*side用*/
.pickup_box01 .badge,
.pickup_box02 .badge {
  display: inline-block;
  padding-top: 0.1rem;
  padding-right: 0.4rem;
  padding-left: 0.4rem;
  padding-bottom: 0.15rem;
  vertical-align: text-top;
  margin-right: 0.2rem;
  margin-bottom: 0.2rem;
  font-size: 0.6875rem;
  min-width: 72px;
}

.pickup_box01 .badge-tag,
.pickup_box02 .badge-tag {
  padding: 0.1rem 0.4rem;
  font-size: 0.625rem;
  min-width: 52px;
}
