.ly_fillter {
  background: url(../img/common/yellow_bg.jpg);
  background-repeat: repeat;
  border: solid 3px #96784f;
  margin: auto;
  max-width: 970px;
  padding: 4px;
  width: calc(100% - 4em);
}

.ly_fillter .ly_fillter_inner {
  background: url(../img/common/bg_white.jpg);
  background-repeat: repeat;
  border: solid 2px #96784f;
  padding: 30px;
  position: relative;
}

.search_cont h3 {
  left: 50%;
  position: absolute;
  text-align: center;
  top: 0;
  -webkit-transform: translateY(-50%) translateX(-50%);
          transform: translateY(-50%) translateX(-50%);
}

.search_cont .sort_list01 {
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.search_cont .sort_list02 {
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.sort_list01_wp {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.reset_item {
  padding-left: 0.5em;
  position: relative;
}

.reset_item::before {
  background: #ffc9cd;
  border-radius: 50%;
  content: "";
  height: 10px;
  left: 0;
  position: absolute;
  top: 9px;
  width: 10px;
}

.reset_item .reset-button {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.reset_item:hover .reset-button {
  color: #ff6698;
}

.sort_list01 .sort_list_item {
  cursor: pointer;
  margin: 0 10px;
  padding-left: 1em;
  position: relative;
}

.sort_list01 .sort_list_item::before {
  background: #ffc9cd;
  border-radius: 50%;
  content: "";
  height: 10px;
  left: 0;
  position: absolute;
  top: 9px;
  width: 10px;
}

.sort_list01 .sort_list_item input {
  cursor: pointer;
}

.sort_list01 .sort_list_item input[type="radio"]:checked + label {
  color: #ff6698;
  position: relative;
}

.sort_list01 .sort_list_item input[type="radio"]:checked + label::before {
  background-color: #ff6698;
  bottom: -1px;
  content: "";
  height: 1px;
  left: 50%;
  position: absolute;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 95%;
}

.sort_list01 .sort_list_item label {
  cursor: pointer;
  display: inline-block;
}

.sort_list01 .sort_list_item input[type="radio"] {
  display: none;
}

.sort_list01 .sort_list_item:hover {
  color: #ff6698;
}

.sort_list02 {
  margin-top: 15px;
  position: relative;
  z-index: 1;
}

.sort_list02::before {
  background-color: #ffc9cd;
  content: "";
  height: 3px;
  left: 0;
  max-width: 220px;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 15vw;
  z-index: -1;
}

.sort_list02::after {
  background-color: #ffc9cd;
  content: "";
  height: 3px;
  max-width: 220px;
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 15vw;
  z-index: -1;
}

.sort_list02 .sort_list_item {
  position: relative;
}

.sort_list02 .sort_list_item:first-child {
  cursor: pointer;
}

.sort_list02 .sort_list_item:first-child label {
  cursor: pointer;
}

.sort_list02 .sort_list_item:hover input[type="radio"][value="series01"] + label::before {
  background: url(../img/character/cate_bg01_on.png) no-repeat;
  background-size: 100%;
}

.sort_list02 .sort_list_item:hover input[type="radio"][value="series02"] + label::before {
  background: url(../img/character/cate_bg02_on.png) no-repeat;
  background-size: 100%;
}

.sort_list02 .sort_list_item:hover input[type="radio"][value="series03"] + label::before {
  background: url(../img/character/cate_bg03_on.png) no-repeat;
  background-size: 100%;
}

.sort_list02 .sort_list_item input {
  cursor: pointer;
}

.sort_list02 .sort_list_item input[type="radio"][value="series01"] + label:before {
  background: url(../img/character/cate_bg01_on.png) no-repeat;
  background: url(../img/character/cate_bg01_off.png) no-repeat;
  background-size: 100%;
}

.sort_list02 .sort_list_item input[type="radio"][value="series01"]:checked + label::before {
  background: url(../img/character/cate_bg01_on.png) no-repeat;
  background-size: 100%;
}

.sort_list02 .sort_list_item input[type="radio"][value="series02"] + label:before {
  background: url(../img/character/cate_bg02_on.png) no-repeat;
  background: url(../img/character/cate_bg02_off.png) no-repeat;
  background-size: 100%;
}

.sort_list02 .sort_list_item input[type="radio"][value="series02"]:checked + label::before {
  background: url(../img/character/cate_bg02_on.png) no-repeat;
  background-size: 100%;
}

.sort_list02 .sort_list_item input[type="radio"][value="series03"] + label:before {
  background: url(../img/character/cate_bg03_on.png) no-repeat;
  background: url(../img/character/cate_bg03_off.png) no-repeat;
  background-size: 100%;
}

.sort_list02 .sort_list_item input[type="radio"][value="series03"]:checked + label::before {
  background: url(../img/character/cate_bg03_on.png) no-repeat;
  background-size: 100%;
}

.sort_list02 .sort_list_item input[type="radio"] {
  display: none;
}

.sort_list02 .sort_list_item input[type="radio"] + label:before {
  background-size: contain;
  content: "";
  display: inline-block;
}

.sort_list02 .sort_list_item label {
  display: inline-block;
}

.sort_list02 .sort_list_item:hover {
  color: #ff6698;
}

.character_list_item {
  position: relative;
}

.character_list_item .character_card {
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0%;
  width: 100%;
}

.character_card {
  color: inherit;
  cursor: pointer;
  -webkit-perspective: 1000px;
          perspective: 1000px;
  position: relative;
}

.front,
.back {
  -webkit-backface-visibility: hidden;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  backface-visibility: hidden;
  background-position: center;
  background-size: cover;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: absolute;
  text-align: center;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transition: ease-in-out 600ms;
  transition: ease-in-out 600ms;
}

.front {
  background-size: cover;
  color: #fff;
  font-weight: 600;
  overflow: hidden;
}

.character_card:hover .front {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}

.character_card:nth-child(even):hover .front {
  -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
}

.back {
  background: #fff;
  -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
}

.character_card:hover .back {
  -webkit-transform: rotateY(0deg);
          transform: rotateY(0deg);
}

.character_card:nth-child(even) .back {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}

.character_card:nth-child(even):hover .back {
  -webkit-transform: rotateY(0deg);
          transform: rotateY(0deg);
}

input {
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  font-weight: 600;
}

label {
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  font-weight: 600;
}

.sp_reset_item .reset-button {
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  background: #fff;
  border: solid 3px #ff6698;
  border-radius: 10px;
  cursor: pointer;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  font-size: 1.2rem;
  height: 40px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
}

.sp_reset_item .reset-button:hover {
  background: #ff6698;
  color: #fff;
}

.sp_search_box {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 20px;
}

.sort_modal {
  background: #ff6698;
  border: solid 3px #ff6698;
  border-radius: 10px;
  cursor: pointer;
  height: 40px;
  margin-left: 10px;
  position: relative;
  width: 40px;
}

.sort_modal:hover {
  background: #fff;
  color: #ff6698;
}

.sort_modal:hover::before {
  background-color: #ff6698;
}

.sp_reset_item {
  width: 200px;
}

.sort_modal::before {
  background: #fff;
  border-radius: 10px;
  content: "";
  height: 3px;
  left: 50%;
  position: absolute;
  top: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
  width: 20px;
}

.modal_box .search_cont .sort_list01 .sort_list_item {
  margin: 0 1.5%;
  width: 21%;
}

.sort_ttl {
  margin-top: 25px;
  text-align: center;
}

@media only screen and (max-width: 820px) {
  .search_cont .sort_list02 {
    padding: 0 2em;
  }
  .sort_list01 .sort_list_item:nth-child(1)::before {
    display: none;
  }
  .sort_list01 .sort_list_item:nth-child(5)::before {
    display: none;
  }
  .sort_list02 .sort_list_item {
    margin: 0 1.5%;
    text-align: center;
    width: 23%;
  }
  .sort_list02 .sort_list_item input[type="radio"] + label:before {
    height: 70px;
    width: 70px;
  }
  .character_list {
    display: grid;
    gap: 20px 20px;
    grid-template-columns: repeat(3, 1fr);
  }
  .character_list_item {
    padding-top: 143%;
  }
  .search .deco-top {
    display: none;
  }
  .search .deco-bottom {
    display: none;
  }
  .modal_box .sort_list01_wp {
    display: block;
    text-align: center;
  }
  .modal_box .reset_item {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-bottom: 10px;
    padding-right: 0.5em;
  }
  .modal_box .reset_item:after {
    background: #ffc9cd;
    border-radius: 50%;
    content: "";
    height: 10px;
    position: absolute;
    right: 0;
    top: 9px;
    width: 10px;
  }
  .modal_box .search_cont .sort_list01 {
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  }
  .close_btn {
    margin: 40px auto 0;
    width: 200px;
  }
  .close_btn .c_btn {
    border: solid 2px #ff6698;
    height: 40px;
  }
  .character_article {
    margin-top: 50px;
  }
}

@media only screen and (min-width: 821px) {
  .sort_list02 .sort_list_item {
    margin: 0 20px;
  }
  .sort_list02 .sort_list_item input[type="radio"] + label:before {
    height: 100px;
    width: 100px;
  }
  .character_list {
    display: grid;
    gap: 40px 20px;
    grid-template-columns: repeat(5, 1fr);
    padding-bottom: 170px;
  }
  .character_list_item {
    padding-top: 143%;
  }
  .search .deco-top::before {
    border-color: #96784f transparent transparent transparent;
    border-style: solid;
    border-width: 30px 30px 0 0;
    content: "";
    height: 0;
    left: -8px;
    position: absolute;
    top: -8px;
    width: 0;
  }
  .search .deco-top::after {
    border-color: transparent #96784f transparent transparent;
    border-style: solid;
    border-width: 0 30px 30px 0;
    content: "";
    height: 0;
    position: absolute;
    right: -8px;
    top: -8px;
    width: 0;
  }
  .search .deco-bottom::before {
    border-color: transparent transparent transparent #96784f;
    border-style: solid;
    border-width: 30px 0 0 30px;
    bottom: -8px;
    content: "";
    height: 0;
    left: -8px;
    position: absolute;
    width: 0;
  }
  .search .deco-bottom::after {
    border-color: transparent transparent #96784f transparent;
    border-style: solid;
    border-width: 0 0 30px 30px;
    bottom: -8px;
    content: "";
    height: 0;
    position: absolute;
    right: -8px;
    width: 0;
  }
}

@media only screen and (min-width: 1110px) {
  .character_list {
    display: grid;
    gap: 40px 20px;
    grid-template-columns: repeat(5, 1fr);
  }
}
