@charset "UTF-8";

/* ==================================================
一覧ページ
==================================================== */
.cat_btn_list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 auto 30px;
}

.cat_btn_list * {
  box-sizing: border-box;
}

.cat_btn_list::after {
  content: "";
  width: 32%;
}

.cat_btn_list .item {
  width: 32%;
  margin-bottom: 20px;
}

.cat_btn_list .item .cat_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0.5em 1em;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background: #FF8408;
  border-bottom: solid 4px #D96D00;
  border-radius: 3px;
  text-align: center;
}

.work_list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.work_list * {
  box-sizing: border-box;
}

.work_list li {
  float: none;
  width: 48%;
  height: auto;
  margin-bottom: 40px;
}

.work_list .list_box .text_box .text b {
  display: block;
}

.wp-pagenavi {
  text-align: center;
  margin: 60px auto;
}

.single-work .cta_wrap figcaption {
  text-align: center;
  margin-top: 10px;
}

.single-work .cta_wrap figcaption a {
  color: #e12f2f;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .wp-pagenavi {
    margin: 40px auto 20px auto;
  }
}

.wp-pagenavi .page {
  border: solid 1px #e2e2e2;
  padding: 10px 13px;
}

.wp-pagenavi a {
  border: solid 1px #e2e2e2;
  padding: 10px 13px;
  margin: 0 5px;
}

.wp-pagenavi .current {
  background: #9A9A9A;
  color: #fff;
  border: solid 1px #e2e2e2;
  padding: 10px 13px;
  margin: 0 5px;
}

.wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink,
.wp-pagenavi .first,
.wp-pagenavi .last {
  border: none;
}

/* 2024/02/16 追記 */
.refine_search_ttl {
  margin-bottom: 0;
}

.refine_search_note {
  font-size: 14px;
  color: #E01E1F;
  margin-top: 10px;
}

.refine_search_wrap {
  margin-bottom: 30px;
  padding: 20px;
  /* background: #F0F0F0; */
}

.refine_search_wrap .refine_search_form {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 15px 1%;
}

.refine_search_wrap .refine_search_btn_wrap {
  width: 100%;
  text-align: center;
}

.refine_search_wrap .refine_search_btn {
  font-weight: bold;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  padding: 10px;
  color: #e12f2f;
  background: #fff;
  border: 2px solid #e12f2f;
  border-radius: 4px;
  transition: .3s;
}

.refine_search_wrap .refine_search_btn:hover {
  color: #fff;
  background: #e12f2f;
}

.refine_search_wrap .selectbox {
  width: 32.6%;
  position: relative;
}

.refine_search_wrap .selectbox::after {
  position: absolute;
  content: "";
  top: 48%;
  right: 15px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: translateY(-50%) rotate(45deg);
}

.refine_search_wrap select {
  padding: 12px 10px;
  border-radius: 4px;
  border-width: 2px;
  font-size: 14px;
  width: 100%;
  appearance: none;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .cat_btn_list .item {
    margin-bottom: 10px;
  }

  .cat_btn_list .item .cat_btn {
    text-align: left;
  }

  .work_list li {
    width: 100%;
    padding-bottom: 0;
  }

  .work_list li .list_box {
    display: flex;
    justify-content: space-between;
  }

  .work_list .list_box .image_box {
    width: 49%;
  }

  .work_list .list_box .text_box {
    width: 47%;
    padding: 0;
    margin: 0;
    text-align: left;
  }

  .work_list .list_box .text_box .text_btn a {
    width: 100%;
    padding: 5px 10px;
  }

  .refine_search_wrap {
    padding: 20px 0;
  }

  .refine_search_wrap .refine_search_form {
    justify-content: space-between;
    gap: 15px 0;
  }

  .refine_search_wrap .selectbox {
    width: 48%;
  }
}

/* ==================================================
詳細ページ
==================================================== */
.single-work .main_section {
  margin-bottom: 100px;
}

.single-work .detail_wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.single-work .detail_wrap .work_slider {
  width: 48%;
  padding: 0 40px;
}

.single-work .detail_wrap .work_slider .slide_item {
  display: flex;
  justify-content: center;
  aspect-ratio: 750/562;
}

.single-work .detail_wrap .work_slider .slide_item img {
  object-fit: contain;
  max-width: 100%;
  width: auto;
  height: 100%;
}

.single-work .detail_wrap .work_info {
  width: 48%;
}

.single-work .detail_wrap .work_info .item {
  font-size: 16px;
  display: flex;
}

.single-work .detail_wrap .work_info .item:last-child {
  margin-bottom: 0;
}

.single-work .slick-prev,
.single-work .slick-next {
  width: 30px;
  height: 30px;
  z-index: 10;
}

.single-work .slick-prev {
  left: 0;
}

.single-work .slick-next {
  right: 0;
}

.single-work .slick-prev:before,
.single-work .slick-next:before {
  font-size: 30px;
  opacity: 1;
  color: #E32627;
}

.single-work .slick-dots {
  bottom: -30px;
  left: 0;
}

.single-work .slick-dots li button:before {
  color: #E32627;
}

.single-work .slick-dots li.slick-active button:before {
  opacity: 1;
  color: #E32627;
}

.single-work .cta_wrap {
  max-width: 495px;
  margin: 50px auto;
}

.single-work .cta_wrap img {
  width: 100%;
  height: auto;
}

.single-work .pagenavi {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
}

.single-work .pagenavi .back_buttun {
  background: #E01E1F url(/images/legacy-theme/img/news/icon_next.gif) no-repeat 97% center/8px;
  width: 100%;
  max-width: 300px;
  padding: 8px 0;
  margin: 0 40px;
  text-align: center;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  display: block;
}

@media screen and (max-width: 768px) {
  .single-work .main_section {
    margin-bottom: 30px;
  }

  .single-work .detail_wrap .work_slider {
    width: 100%;
    margin-bottom: 40px;
  }

  .single-work .detail_wrap .work_info {
    width: 100%;
    margin: 20px auto;
  }

  .single-work .cta_wrap {
    width: 90%;
  }

  .single-work .pagenavi .back_buttun {
    max-width: 244px;
    padding: 8px 0;
  }
}

.comparison_slider {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 15px;
}

.comparison_image {
  position: relative;
  text-align: center;
}

.comparison_image.before img {
  width: 80%;
  /* 1枚目の画像を少し小さく */
}

.comparison_image img {
  width: 100%;
}

.label {
  margin-top: 5px;
  font-size: 14px;
  font-weight: bold;
}

.arrow_down {
  font-size: 24px;
  color: #cf2e2e;

}

.txt_area strong {
  font-size: 16px;
  font-weight: bold;
}

.batxt {
  font-size: 13px;
  font-weight: bold;
  color: #df1e1f;
  position: absolute;
  background: #fff;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 2px;
  bottom: 3%;
  left: 13%;
}

.after .batxt {
  left: 5%;
  bottom: 5%;
}

.work_info {
  list-style: none;
  border-collapse: collapse;
  width: 100%;
  max-width: 500px;
  margin: 0;
  padding: 0;
}

.work_info .item {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
  border-right: 1px solid #f0f0f0;
}

.work_info .item:first-child {
  border-top: 1px solid #f0f0f0;
}

.work_info .item_ttl {
  background-color: #f9dede;
  /* ピンク背景 */
  width: 35%;
  padding: 12px 16px;
  font-weight: bold;
  box-sizing: border-box;
  border-right: 1px solid #fff;
  text-align: center;
}

.work_info .item_detail {
  background-color: #fff;
  width: 65%;
  padding: 12px 16px;
  box-sizing: border-box;
}

.after {
  border: 2px solid #cf2e2e;
  padding: 7px;
}

.work_info li a {
  text-decoration: underline;

}