@charset "UTF-8";

/* ---- 導入事例：一覧 / 詳細 ---- */

#case_archive,
#case_single {
  --section-color: var(--medix-blue-deep);
  --line-color: var(--medix-blue-deep);
  --detail-blue: var(--medix-blue-deep);
  --detail-pink: var(--medix-footer-accent);
  --detail-title: #1a2a4a;
  --detail-line: #d5dde8;
}

/* ---- archive list（カード骨格は common.css 共通） ---- */
#case_archive .case_card_title {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 0 0.75em;
  font-size: clamp(1.25rem, 2.2vw, 1.55em);
  font-weight: 700;
  line-height: 1.5;
  color: #1a2a4a;
}

#case_archive .client,
#case_single .client {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 0 0.85em;
  font-weight: 500;
}

#case_archive .client .label,
#case_single .client .label,
#case_archive .machine .label,
#case_single .machine .label {
  margin-right: 0.35em;
}

#case_archive .machine {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 0 1.5em;
  font-size: 0.9em;
  line-height: 1.7;
  color: var(--medix-footer-accent);
}

#case_single .machine {
  margin: 0 0 1.75em;
  font-size: 0.9em;
  line-height: 1.7;
  color: var(--medix-footer-accent);
}

#case_archive .case_list_empty {
  padding: 2em 0;
  color: #666;
}

#case_archive .case_filter_title {
  gap: 0.55em;
  margin: 0 0 1.5em;
  font-size: 1.35em;
  font-weight: 700;
  line-height: 1.4;
  color: #8094dd;
  color: var(--medix-blue-deep);
}

#case_archive .case_filter_title .side_icon {
  display: block;
  width: 1.75em;
  height: 1.75em;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  overflow: visible;
  color: #8094dd;
  color: var(--medix-blue-deep);
  line-height: 0;
}

#case_archive .case_filter_title .side_icon svg,
#case_archive .case_filter_title .side_icon img {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

#case_archive .case_filter_title .side_icon .side_icon_fill {
  fill: currentColor;
}

#case_archive .case_filter_title .case_filter_label {
  display: block;
  min-width: 0;
}

#case_archive .case_meta {
  position: relative;
  z-index: 1;
  gap: 0.75em;
  margin: 0 0 0.5em;
  font-size: 0.85em;
  color: #668;
}

#case_archive .case_year,
#case_single .case_year {
  color: var(--medix-footer-accent);
  font-weight: 700;
}

#case_archive .case_location,
#case_single .case_location {
  color: #556;
}

#case_archive .case_excerpt {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 0 1em;
  font-size: 0.92em;
  line-height: 1.8;
  color: #445;
}

.contents .side .side_block_sub {
  margin-left: 0.55em;
  font-family: var(--font-body);
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #889;
}

/* ---- single ---- */
#case_single .case_head {
  gap: 1em;
  margin: 0 0 1.25em;
}

#case_single .case_head_meta {
  gap: 0.85em;
  flex-wrap: wrap;
}

#case_single .case_head time {
  color: var(--medix-footer-accent);
  font-weight: 600;
  letter-spacing: 0.04em;
}

#case_single .case_cat {
  display: inline-block;
  padding: 0.4em 1.1em;
  border-radius: 999px;
  background: var(--medix-blue-deep);
  color: #fff;
  font-size: 0.85em;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

#case_single .case_cat:hover {
  background: var(--medix-blue-mid);
}

#case_single .case_title {
  margin: 0 0 1.5em;
  font-size: clamp(1.5rem, 3vw, 2em);
  font-weight: 700;
  line-height: 1.55;
  color: #222;
}

#case_single .case_eyecatch {
  margin: 0 0 2em;
}

#case_single .case_eyecatch img {
  display: block;
  width: 100%;
  height: auto;
}

#case_single .case_meta_box {
  margin: 0 0 2em;
  padding: 1.25em 1.5em;
  background: #f7f7f7;
}

#case_single .entry_content {
  margin: 0 0 2.5em;
  line-height: 1.95;
  color: #333;
}

#case_single .entry_content > *:not(:last-child) {
  margin-bottom: 1.25em;
}

#case_single .entry_content h2 {
  position: relative;
  margin: 2.25em 0 1em;
  padding: 0.15em 0 0.15em 0.9em;
  font-size: 1.25em;
  font-weight: 700;
  line-height: 1.6;
  color: #222;
}

#case_single .entry_content h2::before {
  content: "";
  position: absolute;
  top: 0.15em;
  bottom: 0.15em;
  left: 0;
  width: 5px;
  background: var(--medix-blue-deep);
}

#case_single .entry_content h3 {
  position: relative;
  margin: 2em 0 1em;
  padding: 0.15em 0 0.15em 0.9em;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.6;
  color: #222;
}

#case_single .entry_content h3::before {
  content: "";
  position: absolute;
  top: 0.15em;
  bottom: 0.15em;
  left: 0;
  width: 5px;
  background: var(--medix-blue-deep);
}

#case_single .case_point {
  margin: 0 0 2em;
  padding: 1.35em 1.5em;
  background: #fff8f0;
  border-left: 5px solid var(--medix-footer-accent);
}

#case_single .case_point_label {
  margin: 0 0 0.65em;
  font-weight: 700;
  color: var(--medix-footer-accent);
  letter-spacing: 0.04em;
}

#case_single .case_point_body {
  margin: 0;
  line-height: 1.85;
  color: #333;
}

#case_single .case_interview {
  margin: 0 0 2em;
  font-size: 0.95em;
  color: #668;
}

#case_single .entry_content h4 {
  margin: 1.75em 0 0.85em;
  font-size: 1.1em;
  font-weight: 700;
  color: var(--medix-footer-accent);
}

#case_single .entry_content h5 {
  margin: 1.75em 0 0.85em;
  padding-bottom: 0.45em;
  border-bottom: 1px solid #ccc;
  font-size: 1.05em;
  font-weight: 700;
  color: #222;
}

#case_single .entry_content a {
  color: var(--medix-footer-accent);
  text-decoration: underline;
}

#case_single .entry_content a:hover {
  opacity: 0.8;
}

#case_single .entry_content .case_figure {
  margin: 1.5em 0;
}

#case_single .entry_content .case_figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
}

#case_single .entry_content .case_figure figcaption {
  margin: 0.5em 0 0;
  font-size: 0.9em;
  color: #668;
  line-height: 1.6;
  text-align: center;
}

#case_single .entry_content .case_figure + p {
  margin-top: 1em;
}

/* キャプション付き画像が連続する場合のリスト（2カラム） */
#case_single .entry_content .case_figure_list {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 1.25em 1.5em;
  margin: 1.5em 0;
  padding: 0;
  list-style: none;
}

#case_single .entry_content .case_figure_list > li {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 calc(50% - 0.75em);
  flex: 1 1 calc(50% - 0.75em);
  margin: 0;
  min-width: 0;
}

#case_single .entry_content .case_figure_list .case_figure {
  margin: 0;
}

#case_single .entry_content .wp-block-gallery,
#case_single .entry_content .gallery {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 1em;
  margin: 1.5em 0;
}

#case_single .entry_content .wp-block-gallery .wp-block-image,
#case_single .entry_content .gallery .gallery-item {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 calc(50% - 0.5em);
  flex: 1 1 calc(50% - 0.5em);
  margin: 0;
}

#case_single .entry_content .wp-block-gallery.columns-1 .wp-block-image,
#case_single .entry_content .wp-block-image:first-child {
  -webkit-flex-basis: 100%;
  flex-basis: 100%;
}

@media screen and (max-width: 768px) {
  #case_single .entry_content .case_figure_list > li {
    -webkit-flex-basis: 100%;
    flex-basis: 100%;
  }
}

/* ---- facility box ---- */
#case_single .case_facility {
  gap: 1.5em;
  margin: 0 0 3em;
  padding: 1.5em;
  background: #f0f0f0;
}

#case_single .case_facility_img {
  width: 10em;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}

#case_single .case_facility_img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

#case_single .case_facility_name {
  margin: 0 0 0.6em;
  font-size: 1.1em;
  font-weight: 700;
}

#case_single .case_facility_address,
#case_single .case_facility_tel {
  margin: 0 0 0.35em;
  font-size: 0.95em;
  line-height: 1.7;
}

#case_single .case_facility_url {
  margin: 0.5em 0 0;
}

#case_single .case_facility_url a {
  color: var(--medix-footer-accent);
  word-break: break-all;
}

@media screen and (max-width: 768px) {
  #case_single .case_facility {
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: flex-start;
    align-items: flex-start;
  }

  #case_single .case_facility_img {
    width: 100%;
    max-width: 16em;
  }
}

/* ---- コンテンツブロック（開業支援と同型・導入事例の見出し見た目は維持） ---- */
#case_single .detail_contents {
  margin: 0;
  line-height: 1.95;
  color: #333;
}

#case_single .detail_contents strong,
#case_single .detail_contents b {
  font-weight: 700;
}

#case_single .detail_contents > .content:not(:last-child),
#case_single .detail_contents > .step_flow:not(:last-child),
#case_single .detail_contents > .color_box:not(:last-child) {
  margin-bottom: 2.5em;
}

#case_single .step_flow,
#case_single .content.section_bg,
#case_single .env_bg_band {
  padding: 1.75em 1.5em 1.85em;
  background: #e8eef6;
  background: -webkit-linear-gradient(top, #e8eef6, #eef3fa);
  background: linear-gradient(180deg, #e8eef6 0%, #eef3fa 100%);
}

#case_single .content.section_bg.bg_gray,
#case_single .env_bg_band.bg_gray {
  background: #f4f6f8;
}

#case_single .content.section_bg.bg_pink,
#case_single .env_bg_band.bg_pink {
  background: #fff4f7;
}

#case_single .content.section_bg.bg_white,
#case_single .env_bg_band.bg_white {
  background: #fff;
}

#case_single .content.section_bg.bg_custom,
#case_single .env_bg_band.bg_custom {
  background: #e8eef6;
}

#case_single .step_flow .box,
#case_single .content.section_bg > .box,
#case_single .env_bg_band > .box {
  background: #fff;
  padding: 1.75em 1.85em 2em;
  -webkit-box-shadow: 0 4px 18px rgba(0, 45, 100, 0.08);
  box-shadow: 0 4px 18px rgba(0, 45, 100, 0.08);
}

#case_single .step_flow > .content:not(:last-child)::after,
#case_single .step_flow > .box:not(:last-child)::after,
#case_single .step_flow .content > .box:has(.env_step):not(:last-child)::after,
#case_single .content.section_bg > .box:has(.env_step):not(:last-child)::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: 1.75em auto 1.75em;
  border-left: 1.25em solid transparent;
  border-right: 1.25em solid transparent;
  border-top: 1.7em solid var(--detail-pink, #e85a8c);
}

#case_single .step_flow > .box:not(:last-child),
#case_single .step_flow .content > .box:has(.env_step):not(:last-child),
#case_single .content.section_bg > .box:has(.env_step):not(:last-child) {
  margin-bottom: 0;
}

#case_single .env_arrow {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  margin: 1.25em 0;
}

#case_single .env_arrow.pos_left {
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
}

#case_single .env_arrow.pos_center {
  -webkit-justify-content: center;
  justify-content: center;
}

#case_single .env_arrow.pos_right {
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
}

#case_single .env_arrow .arrow_mark {
  display: block;
  width: 0;
  height: 0;
  border-left: 1.25em solid transparent;
  border-right: 1.25em solid transparent;
  border-top: 1.7em solid var(--detail-pink, #e85a8c);
}

#case_single .env_arrow.size_s .arrow_mark {
  border-left-width: 0.85em;
  border-right-width: 0.85em;
  border-top-width: 1.15em;
}

#case_single .env_arrow.size_l .arrow_mark {
  border-left-width: 1.75em;
  border-right-width: 1.75em;
  border-top-width: 2.4em;
}

#case_single .env_arrow.color_blue .arrow_mark {
  border-top-color: var(--detail-blue, #8094DD);
}

#case_single .env_arrow.color_black .arrow_mark {
  border-top-color: #222;
}

#case_single .env_arrow.is_image img {
  display: block;
  width: 2.8em;
  height: auto;
}

#case_single .env_arrow.size_s.is_image img {
  width: 2em;
}

#case_single .env_arrow.size_l.is_image img {
  width: 4.2em;
}

#case_single .step_flow > .content:has(.env_arrow)::after,
#case_single .step_flow > .content:has(+ .env_arrow)::after,
#case_single .step_flow > .box:has(+ .env_arrow)::after,
#case_single .step_flow .content > .box:has(+ .env_arrow)::after,
#case_single .content.section_bg > .box:has(+ .env_arrow)::after {
  content: none;
  display: none;
  margin: 0;
  border: 0;
}

#case_single .content > *:not(:last-child):not(h2) {
  margin-bottom: 1.5em;
}

#case_single .content > h2 .pink_deco {
  display: none;
}

#case_single .content > h2 .section_label {
  display: inline;
}

#case_single .box:not(:last-child) {
  margin-bottom: 1.5em;
}

#case_single .box > *:not(:last-child) {
  margin-bottom: 1.25em;
}

#case_single .box > p {
  margin: 0;
  line-height: 1.95;
}

#case_single .box > p.tac {
  text-align: center;
}

#case_single .box > h4,
#case_single .env_sec_title_sm {
  margin: 1.75em 0 0.85em;
  padding: 0;
  border: 0;
  background: none;
  font-size: 1.1em;
  font-weight: 700;
  color: var(--detail-pink);
}

#case_single .box > h4:first-child,
#case_single .box > .env_sec_title_sm:first-child {
  margin-top: 0;
}

#case_single .box > .note,
#case_single .note {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.7;
  color: #668;
}

#case_single .list {
  margin: 0;
  padding: 1em 1.25em;
  list-style: none;
  background: #f7f7f7;
}

#case_single .list li {
  position: relative;
  padding-left: 1.15em;
  line-height: 1.75;
  color: #333;
}

#case_single .list li:not(:last-child) {
  margin-bottom: 0.55em;
}

#case_single .list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: var(--detail-pink);
}

#case_single .attention {
  margin: 0;
  padding: 1em 1.25em;
  list-style: none;
  background: #e8eaed;
}

#case_single .attention li {
  padding: 0;
  line-height: 1.75;
  font-size: 0.95em;
  color: #555;
}

#case_single .attention li:not(:last-child) {
  margin-bottom: 0.55em;
}

#case_single .attention_plain,
#case_single .attention.no_bg {
  background: transparent;
  padding: 0;
}

#case_single .table_box {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#case_single .table_box table,
#case_single .detail_contents table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
}

#case_single .table_box th,
#case_single .table_box td,
#case_single .detail_contents table th,
#case_single .detail_contents table td {
  padding: 0.85em 0.75em;
  border: 1px solid #d5dde8;
  vertical-align: middle;
  text-align: left;
  background: #fff;
}

#case_single .table_box thead th,
#case_single .detail_contents table thead th {
  font-weight: 700;
  color: var(--detail-title);
  background: #f0f5fa;
  text-align: center;
}

#case_single .table_box.is_stack tr.is_head th {
  color: #222;
  background: #f4f6fa;
  font-weight: 700;
  text-align: left;
}

#case_single .table_box.is_stack tr.is_body td {
  color: #333;
  background: #fff;
  font-weight: 400;
  text-align: left;
}

#case_single .table_box.is_cols thead th,
#case_single .table_box.is_cols thead th:first-child,
#case_single .table_box.is_cols tr.is_head th {
  color: #222;
  background: #f4f6fa;
  font-weight: 700;
  text-align: left;
}

#case_single .table_box.is_cols td,
#case_single .table_box.is_cols tr.is_body td {
  color: #333;
  background: #fff;
  font-weight: 400;
  text-align: left;
}

#case_single .env_table_block .table_title {
  margin: 0 0 0.65em;
  font-size: 1.08em;
  font-weight: 700;
  color: var(--detail-pink);
}

#case_single .qa_list {
  margin: 0;
  padding: 1.4em 1.5em 0.35em;
  background: #f4f6f8;
}

#case_single .qa_item {
  margin: 0 0 1.85em;
}

#case_single .qa_item:last-child {
  margin-bottom: 1.15em;
}

#case_single .qa_q {
  margin: 0;
  padding: 0.3em 0 0.55em 0.9em;
  border-left: 4px solid var(--detail-blue);
  border-bottom: 1px solid var(--detail-line);
  font-size: 1.06em;
  font-weight: 700;
  line-height: 1.55;
  color: var(--detail-title);
}

#case_single .qa_q::before {
  content: "Q.";
  margin-right: 0.45em;
  font-family: var(--font-futura-pt);
  font-weight: 700;
  color: var(--detail-blue);
}

#case_single .qa_a {
  margin: 0.9em 0 0;
  padding: 0 0 0 0.9em;
  color: #4a5560;
  line-height: 1.95;
}

#case_single .qa_a::before {
  content: "A.";
  margin-right: 0.45em;
  font-family: var(--font-futura-pt);
  font-weight: 700;
  color: var(--detail-pink);
}

#case_single .env_step {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 0.85em;
  margin: 0 0 1em;
  font-size: 1.2em;
  font-weight: 700;
  color: var(--detail-title);
}

#case_single .env_step .step_badge {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  min-width: 3.5em;
  padding: 0.75em;
  border-radius: 0 0.5em 0.5em 0.5em;
  background: var(--detail-blue);
  color: #fff;
  text-align: center;
}

#case_single .env_circle_heading {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 0.75em;
  margin: 0 0 1em;
  font-size: 1.15em;
  font-weight: 700;
  color: var(--detail-pink);
}

#case_single .env_circle_heading .circle_badge {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  width: 1.85em;
  height: 1.85em;
  border-radius: 50%;
  background: var(--detail-pink);
  color: #fff;
  font-weight: 700;
}

#case_single .env_warn {
  margin: 1.5em 0;
  padding: 1.25em 1.5em;
  background: #fff5f5;
  border-left: 5px solid #c62828;
}

#case_single .env_warn_label {
  margin: 0 0 0.3em;
  font-weight: 700;
  color: #c62828;
}

#case_single .color_box {
  margin: 1.5em 0;
  padding: 1.5em;
  background: #f0f5fa;
}

#case_single .color_box .btns {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 0.75em;
}

#case_single .color_box .btn {
  display: inline-block;
  padding: 0.7em 1.4em;
  background: var(--detail-blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

#case_single .color_box .btn:hover {
  background: var(--detail-pink);
}

#case_single .env_pdf_btn {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 0.4em;
  min-height: 2.6em;
  padding: 0.55em 1.15em;
  border: 1px solid var(--detail-blue);
  border-radius: 4px;
  background: #fff;
  color: var(--detail-blue);
  font-weight: 700;
  text-decoration: none;
}

#case_single .env_pdf_btn .pdf_mark {
  color: var(--detail-pink);
}

#case_single .env_pdf_btn:hover {
  background: var(--detail-blue);
  color: #fff;
}

#case_single .env_pdf_btn:hover .pdf_mark {
  color: #fff;
}

#case_single .env_inline_video,
#case_single .env_embed_video {
  margin: 0 0 1.5em;
}

#case_single .env_video_wrap,
#case_single .env_embed_frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

#case_single .env_embed_frame iframe,
#case_single .env_video_wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#case_single .content figure,
#case_single .env_figure {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 1.5em auto;
  text-align: center;
}

#case_single .content figure.size_m,
#case_single .env_figure.size_m {
  max-width: 640px;
}

#case_single .content figure.size_s,
#case_single .env_figure.size_s {
  max-width: 400px;
}

#case_single .content figure.size_w img,
#case_single .env_figure.size_w img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 1;
  object-fit: cover;
  object-position: center;
}

#case_single .content figure img,
#case_single .env_figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
}

#case_single .content figure figcaption,
#case_single .env_figure .env_caption {
  display: block;
  margin: 0.5em 0 0;
  font-size: 0.9em;
  color: #668;
  line-height: 1.6;
  text-align: center;
}

#case_single .env_image_grid {
  margin: 1.5em auto;
}

#case_single .env_image_grid .lists {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  gap: 1.25em 1.5em;
  margin: 0;
}

#case_single .env_image_grid .env_figure,
#case_single .env_image_grid figure {
  margin: 0;
}

#case_single .env_image_grid.cols_2 .lists .env_figure {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 calc(50% - 0.75em);
  flex: 1 1 calc(50% - 0.75em);
  max-width: calc(50% - 0.75em);
}

#case_single .env_image_grid.cols_3 .lists .env_figure {
  -webkit-flex: 1 1 calc(33.333% - 1em);
  flex: 1 1 calc(33.333% - 1em);
  max-width: calc(33.333% - 1em);
}

#case_single .env_image_grid.cols_4 .lists .env_figure {
  -webkit-flex: 1 1 calc(25% - 1.15em);
  flex: 1 1 calc(25% - 1.15em);
  max-width: calc(25% - 1.15em);
}

@media screen and (max-width: 768px) {
  #case_single .env_image_grid.cols_3 .lists .env_figure,
  #case_single .env_image_grid.cols_4 .lists .env_figure {
    -webkit-flex-basis: calc(50% - 0.75em);
    flex-basis: calc(50% - 0.75em);
    max-width: calc(50% - 0.75em);
  }
}

@media screen and (max-width: 480px) {
  #case_single .env_image_grid .lists .env_figure {
    -webkit-flex-basis: 100%;
    flex-basis: 100%;
    max-width: 100%;
  }
}
