@charset "UTF-8";

/*
========================================
 
sort_paginations.css
2026
   
========================================*/

/*.filter {
  background-color: #fff;
}

.filter .filterblock {
  padding-bottom: 1px;
}

.filter a span.check,
.filter a span.radio {
  background: #fff;
}

div.seachclear {
  position: sticky;
  top: 60px;
  z-index: 10;
}*/

p.categorytitle {
  /*font-size: clamp(0.75rem, 0.725rem + 0.13vw, 0.875rem); -----12px-14px*/
  font-weight: 700;
  margin-bottom: 4px;
  color: #171c61;
  width: fit-content;
}

@media (min-width: 1024px) {
  div#sortDisplay {
    scroll-margin-top: 16px;
  }
  p.categorytitle {
    margin: auto;
    padding: 0 8px 4px 8px;
    /*border-bottom: 1px solid #171c61;*/
  }
  /*
  div.seachclear {
    position: static;
  }*/
}

/*すべて表示*/

.filter a.all {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

/*チェックボックス風*/

.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: #d2d3ff; /*base_color*/

  left: 16px;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
}

.filter a.active span.check::before {
  background: #a1c4fd; /*asort_color02*/
}

@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: #a1c4fd; /*asort_color02*/
    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: 16px;
  padding-right: 16px;
  padding-bottom: 8px;
  text-align: center;
}

.filter a span.radio::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: transparent;
  border-radius: 24px;
  /*left: 16px;*/
  left: 20px;
  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;*/
  left: 20px;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  /*border: 1px solid #fff;*/
  z-index: 2;
}

.filter a.active span.radio::before {
  /*中心の円*/
  background: #242c97; /*asort_color*/
  animation: radio 0.8s linear;
}

.filter a.active span.radio::after {
  background: #fff !important;
  border: 1px solid #ccc;
}

.filter a.all span.radio::before,
.filter a.all span.radio::after {
  border: 1px solid #ccc;
}

.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: 32px;
    padding-bottom: 10px;
    text-align: center;
  }
}

@keyframes radio {
  0% {
    box-shadow: 0 0 0 1px transparent;
  }
  50% {
    box-shadow: 0 0 0 8px #e5e5e5;
  }
  100% {
    box-shadow: 0 0 0 8px transparent;
  }
}

/*
チェックボックス風　ラジオボタン風
共通設定
*/

a.selectback {
  padding: 10px;
  display: flex;
}

div.showresults {
  height: 100%;
}

div.showresults #show-results {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

@media (min-width: 1024px) {
  div.showresults #show-results:hover {
    cursor: none;
  }
}

.filter a span.check,
.filter a span.radio {
  font-size: clamp(0.813rem, 0.787rem + 0.13vw, 0.938rem); /*-----13px-15px*/
  border: 1px solid #171c61;
  color: #171c61;
  background-color: #fff;
}

/*.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 {
  width: 100%;
}

.filter a.active {
  /*選択中*/
  font-weight: 700;
}

.filter a.active span.check,
.filter a.active span.radio {
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
  background-color: #171c61;
  color: #fff;
  /*border-radius: 32px;*/
}

.filter a.all.active {
  background-color: #fff;
}

.filter a.all.active span.check,
.filter a.all.active span.radio {
  /*background-color: #171c61;
  color: #fff;*/
  filter: none;
  width: 100%;
}

/*色分け
チェックボックス風　ラジオボタン風*/

.filter a.active span.ctg01::before/*,
.filter a.active span.ctg01::after*/ {
  /*News　更新情報*/
  background: #3c51db;
}

.filter a.active span.ctg02::before/*,
.filter a.active span.ctg02::after*/ {
  /*News　掲載事例*/
  background: #5ebbff;
}

.filter a.active span.ctg03::before/*,
.filter a.active span.ctg03::after*/ {
  /*News　おしらせ*/
  background: #3cdbc7;
}

.filter a.active span.cases::before,
.filter a.active span.cases::after {
  /*Cases　開発事例*/
  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 #171c61;
  /*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;
    background-color: #44403c;
    color: #f2f2f2;
  }

  .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: 24px; /*pagination-height*/
  animation: fadein 1s forwards;
}

@media (min-width: 1024px) {
  .boxes {
    margin-bottom: 48px; /*pagination-height*/
  }
}

/*.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%;
}

div.pagination {
  /*position: absolute; relative ---> .page_content
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;*/
  margin: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 72px;
  background: #f1f3ff;
  /*display: none !important; 　アイテムが少ない場合はページ送りの欄は表示しない -->　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 rgba(23, 28, 97, 0.5);
  background: #f1f3ff;
  font-size: 1rem;
  font-family: "Barlow Semi Condensed", "Noto Sans JP", "Hiragino Kaku Gothic Pro", "Osaka", "Meiryo", "MS PGothic", monospace, Sans-Serif;
  font-display: swap;
  text-align: center;
}

span.page-numbers a.active {
  color: #f1f3ff;
  border: 2px solid #171c61;
  background: #171c61;
}

div.no-results {
  /*絞り込み件数0の場合*/

  background-color: #fff;
  padding: 2vh 0 2vh 0;
}

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: #f2f2f2; /*paper*/
  background-image: url("♯"); /*fallback
    background-image: url("♯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-image: url("♯");
  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: flex;
  align-items: center;
  width: fit-content;
  height: fit-content;
  position: relative;
  display: inline-block;
  margin-top: 16px;
  margin-bottom: 8px;
  padding: 4px 16px;
  font-family: "Barlow Semi Condensed", "Noto Sans JP", "Hiragino Kaku Gothic Pro", "Osaka", "Meiryo", "MS PGothic", monospace, Sans-Serif;
  font-display: swap;
}

/*ニュースの場合*/

body.news #selected-filters span.selected-name {
  /*.page_content h4と同一に*/
  font-size: clamp(1.125rem, 1.013rem + 0.56vw, 1.688rem); /*=heading7*/
  color: #fff;
  font-weight: 500;
  background-image: linear-gradient(120deg, #171c61 0%, #171c61 1%, rgba(116, 113, 216, 0.8) 100%);
  line-height: 1.3;
}

body.news #selected-filters span.selected-name:nth-child(2) {
  font-size: clamp(0.875rem, 0.787rem + 0.44vw, 1.313rem); /*=heading9*/
  background: none;
  color: #171c61;
}

/*#selected-filters span.selected-name:first-child {
}*/

@media (min-width: 768px) {
  body.news #selected-filters span.selected-name {
    padding: 4px 60px;
  }

  body.news #selected-filters span.selected-name::before,
  body.news #selected-filters span.selected-name::after {
    content: "";
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 12px;
    height: 3px;
    transform: translateY(-50%);
    /*background-color: rgba(255, 255, 255, 0.5);*/
    border-top: solid 1px #fff;
    border-bottom: solid 1px #fff;
  }
  body.news #selected-filters span.selected-name::before {
    left: 24px;
  }
  body.news #selected-filters span.selected-name::after {
    right: 24px;
  }

  body.news #selected-filters span.selected-name:nth-child(2)::before,
  body.news #selected-filters span.selected-name:nth-child(2)::after {
    border-top: solid 1px #171c61;
    border-bottom: solid 1px #171c61;
  }
}

@media (min-width: 1024px) {
  body.news #selected-filters span.selected-name {
    margin-top: 32px;
    /*margin-bottom: 32px;*/
    margin-bottom: 16px;
    padding: 8px 60px;
  }
}

/*開発事例の場合*/

.splide__slide [hidden] {
  display: none !important;
}

body.cases #selected-filters {
  display: none !important; /*全画面上部にあって不要な場合*/
}
body.cases #selected-filters span.selected-name {
  font-size: clamp(0.75rem, 0.675rem + 0.38vw, 1.125rem); /*12px → 18px（320px → 1920px）*/
  font-weight: 700;
  background-color: transparent;
  color: #171c61;
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 16px;
}

body.cases #selected-filters span.selected-name::before {
  width: 0.8rem;
  height: 0.6rem;
  border-bottom: 4px solid #c084fc;
  border-left: 4px solid #c084fc;
  transform: rotate(-45deg) translate(2px, -2px);
  content: "";
  display: block;
  margin: 0 0.4rem 0 0;
}

@media (min-width: 1024px) {
  body.cases #selected-filters span.selected-name {
    margin-top: 24px;
    margin-bottom: 0px;
    margin-right: 24px;
  }

  body.cases #selected-filters span.selected-name::before {
    width: 1rem;
    height: 0.75rem;
    border-bottom: 4px solid #c084fc;
    border-left: 4px solid #c084fc;
    margin: 0.2rem 0.4rem 0 0;
  }
}
