*:root {
  --search_icon: url("../../public/image/search.svg");
}

.Grid_layout_1 .title {
  margin: 0;
}

#search_box {
  width: 100%;
  max-width: 900rem;
  margin: 3vw 0;
  margin-right: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 5px;
}
#search_box > * {
  height: 45rem;
  background-color: white;
  border: 1rem solid #ced4da;
  border-radius: 5rem;
}
#search_box .drop_menu {
  flex: 1 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row-reverse;
  position: relative;
}
#search_box .drop_menu::before {
  content: "";
  height: calc(100% / 3);
  aspect-ratio: 1.2/1;
  background-color: #828282;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  transform: translateX(-50%);
}
#search_box .drop_menu select {
  all: unset;
  width: 100%;
  height: 100%;
  background-color: white;
  padding-right: 35rem;
  font-size: 1.25em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: flex-start;
}
#search_box #post_properties_menu {
  flex-basis: 150rem;
}
#search_box #post_type_menu {
  flex-basis: 300rem;
}
#search_box #search_input_box {
  flex: 3 0 215px;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: flex-start;
}
#search_box #search_input_box::before {
  content: "";
  height: 100%;
  aspect-ratio: 1/1;
  background-image: var(--search_icon);
  background-size: cover;
  background-position: center;
  display: flex;
  transform: scale(0.5);
}
#search_box #search_input_box #search_input {
  all: unset;
  height: 80%;
  width: 100%;
  border-left: 1rem solid #ced4da;
  font-size: 1.25em;
  flex: 1;
}
#search_box #search_btn {
  flex: 0 0 80px;
  cursor: pointer;
  font-size: 1.25em;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
#search_box #search_btn:hover {
  mix-blend-mode: difference;
}

#post_list_box {
  width: 100%;
  height: max-content;
  background-color: #dee2e6;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2), 0 0 1rem rgba(0, 0, 0, 0.125);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
}
#post_list_box #post_list_head {
  min-width: 100%;
  height: 45rem;
  padding: 0 1vw;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#post_list_box #post_list_head h1 {
  font-size: 1.25em;
  margin-right: auto;
  flex-shrink: 0;
}
#post_list_box #post_list_head #cur_high_num::after {
  content: "-";
}
#post_list_box #post_list_head #cur_low_num::after {
  content: "/";
}
#post_list_box #post_list_head #all_post_num {
  margin-right: 5rem;
}
#post_list_box #post_list_head .page_sw_btn_box {
  width: max-content;
  height: 30rem;
  background-color: #dddddd;
  border-radius: 5rem;
  border: 1rem solid #dddddd;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 1rem;
}
#post_list_box #post_list_head .page_sw_btn_box a {
  width: 25rem;
  height: 100%;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#post_list_box #post_list_head .page_sw_btn_box .material-symbols-outlined {
  color: #444444;
  font-size: 1.25em;
}
#post_list_box #post_list_head .page_sw_btn_box a:hover {
  mix-blend-mode: difference;
}
#post_list_box .Grid_columns_layout_1 {
  width: 100%;
  background-color: white;
  padding: 0 1vw;
  display: grid;
  grid-template-columns: 220rem 230rem 1fr 120rem;
  grid-template-rows: 50rem;
}
#post_list_box .Grid_columns_layout_1 > * {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: flex-start;
  flex-shrink: 1;
  flex: 1;
}
#post_list_box .Grid_columns_layout_1 > * h2, #post_list_box .Grid_columns_layout_1 > * span {
  font-size: 1.25em;
  width: min-content;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#post_list_box .Grid_columns_layout_1 > * span {
  font-weight: 400;
}
#post_list_box .Grid_columns_layout_1 .post_title span {
  max-width: 40em !important;
}
#post_list_box #post_list_title {
  margin-bottom: 3px;
}
#post_list_box #post_list_title > div {
  display: flex;
  justify-content: center;
  align-items: center;
}
#post_list_box #post_content_box {
  width: 100%;
  height: max-content;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  gap: 1px;
}
#post_list_box #post_content_box a {
  transition: transform 0.3s ease-in-out;
  position: relative;
}
#post_list_box #post_content_box > a.appdix::before {
  content: "";
  width: 1.2em;
  aspect-ratio: 1/1.1;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNiAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGQ9Ik0yLjM0Mzc1IDE1LjU5MzhDMC41IDEzLjY4NzUgMC41MzEyNSAxMC42NTYyIDIuMzc1IDguNzgxMjVMOC45Mzc1IDIuMDYyNUMxMC4zMTI1IDAuNjU2MjUgMTIuNTYyNSAwLjY1NjI1IDEzLjk2ODggMi4wNjI1QzE1LjMxMjUgMy40Njg3NSAxNS4zNDM4IDUuNzUgMTMuOTY4OCA3LjE1NjI1TDguMjUgMTNDNy4zMTI1IDEzLjkzNzUgNS43ODEyNSAxMy45Mzc1IDQuODc1IDEyLjk2ODhDMy45Njg3NSAxMi4wMzEyIDQgMTAuNTMxMiA0LjkwNjI1IDkuNjI1TDkuNDA2MjUgNS4wMzEyNUM5LjU5Mzc1IDQuODQzNzUgOS45MDYyNSA0LjgxMjUgMTAuMTI1IDUuMDMxMjVMMTAuODEyNSA1LjcxODc1QzExLjAzMTIgNS45MDYyNSAxMS4wMzEyIDYuMjE4NzUgMTAuODQzOCA2LjQzNzVMNi4zNDM3NSAxMUM2LjE4NzUgMTEuMTU2MiA2LjE4NzUgMTEuNDM3NSA2LjMxMjUgMTEuNTkzOEM2LjQ2ODc1IDExLjcxODggNi42ODc1IDExLjcxODggNi44MTI1IDExLjU5MzhMMTIuNTMxMiA1Ljc1QzEzLjEyNSA1LjEyNSAxMy4xMjUgNC4wOTM3NSAxMi41MzEyIDMuNDY4NzVDMTEuOTM3NSAyLjg3NSAxMC45Njg4IDIuODc1IDEwLjM3NSAzLjQ2ODc1TDMuODEyNSAxMC4xODc1QzIuNzE4NzUgMTEuMjgxMiAyLjcxODc1IDEzLjA5MzggMy43ODEyNSAxNC4xODc1QzQuODQzNzUgMTUuMjgxMiA2LjU2MjUgMTUuMjgxMiA3LjYyNSAxNC4xODc1TDEzIDguNjg3NUMxMy4xODc1IDguNSAxMy41IDguNSAxMy42ODc1IDguNjg3NUwxNC40MDYyIDkuNDA2MjVDMTQuNjI1IDkuNTkzNzUgMTQuNjI1IDkuOTA2MjUgMTQuNDM3NSAxMC4wOTM4TDkuMDYyNSAxNS41OTM4QzcuMTg3NSAxNy41IDQuMTg3NSAxNy40Njg4IDIuMzQzNzUgMTUuNTkzOFoiIGZpbGw9IiMyMTI1MjkiLz4NCjwvc3ZnPg0K");
  background-size: cover;
  display: block;
  position: absolute;
  right: 1vw;
  top: 25rem;
  transform: translateY(-50%);
}
#post_list_box #post_content_box a:hover {
  box-shadow: 0 5rem 5rem rgba(0, 0, 0, 0.2);
  transform: scale(1.005);
  z-index: 2;
}
#post_list_box #post_content_box a:hover span {
  font-weight: bold;
}

#page_sw_box {
  max-width: 100vw;
  background-color: #dee2e6;
  box-shadow: 0 2rem 5rem rgba(255, 255, 255, 0.5);
  padding: 1rem;
  gap: 1rem;
  margin-top: 3vw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#page_sw_box .form-inline {
  height: 100%;
  background-color: white;
  border: 1rem solid #dddddd;
  padding: 0 0.5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-110%, -50%);
}
#page_sw_box .form-inline select {
  border: unset;
  outline: none;
}
#page_sw_box a:nth-child(2) {
  border-radius: 5rem 0 0 5rem;
}
#page_sw_box a:last-child {
  border-radius: 0 5rem 5rem 0;
}
#page_sw_box a {
  --main_color: rgba(185, 54, 174, 1);
  background-color: white;
  color: var(--main_color);
  font-weight: 400;
  padding: 10rem 15rem;
  white-space: nowrap;
}
#page_sw_box a:not(.cur_page):hover {
  background-color: var(--mc1);
  color: white;
  font-weight: bold;
}
#page_sw_box a.cur_page {
  color: white !important;
  background-color: var(--main_color) !important;
  transform: scale(1.01);
}

@media screen and (max-width: 1100px) {
  #post_list_title {
    display: none !important;
  }

  #post_content_box {
    padding: 10rem !important;
    gap: 10rem !important;
  }

  .Grid_columns_layout_1 {
    border-radius: 10rem !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-areas: "post_date post_properties post_type post_unit" "post_title post_title post_title post_title";
  }
  .Grid_columns_layout_1 > * {
    justify-content: center !important;
    padding: 1vw 0;
  }
  .Grid_columns_layout_1 .post_date {
    grid-area: post_date;
  }
  .Grid_columns_layout_1 .post_properties {
    grid-area: post_properties;
  }
  .Grid_columns_layout_1 .post_type {
    grid-area: post_type;
  }
  .Grid_columns_layout_1 .post_unit {
    grid-area: post_unit;
  }
  .Grid_columns_layout_1 .post_title {
    min-height: 50rem !important;
    grid-area: post_title;
    padding: 0 1vw;
  }
  .Grid_columns_layout_1 .post_title span {
    width: 100% !important;
    text-align: center !important;
    text-overflow: unset !important;
    overflow: unset !important;
    white-space: normal !important;
    color: var(--mc1);
    font-weight: bold !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden !important;
  }

  #page_sw_box .form-inline {
    top: 110%;
    left: 50%;
    transform: translate(-50%, 0);
  }
}
@media screen and (min-width: 661px) and (max-width: 1100px) {
  .post_type {
    grid-column: 3/5 !important;
  }
}
@media screen and (max-width: 660px) {
  .Grid_columns_layout_1 {
    padding: 1.5vw;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(1, 1fr) !important;
    grid-template-areas: "post_date post_properties post_unit" "post_type post_type post_type" "post_title post_title post_title" !important;
  }
  .Grid_columns_layout_1 .post_type {
    height: max-content !important;
  }
  .Grid_columns_layout_1 .post_title {
    height: max-content !important;
  }
}