.search_form.box.-gray {
  margin-top: 2.5rem;
}
@media screen and (width <= 767px) {
  .search_form.box.-gray {
    padding: 2.5rem 2rem;
  }
}
@media screen and (width > 767px), print {
  .search_form.box.-gray {
    padding: 3rem 4rem;
  }
}
.search_form_inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2rem;
}
@media screen and (width <= 767px) {
  .search_form_inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.search_form_inner dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1rem 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.1rem solid var(--table-border);
}
@media screen and (width > 767px), print {
  .search_form_inner dl {
    padding-left: 11.4rem;
    position: relative;
  }
}
.search_form_inner dl + dl {
  margin-top: 1.5rem;
}
.search_form_inner dl dt {
  color: var(--ttl-black);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.4;
}
@media screen and (width <= 767px) {
  .search_form_inner dl dt {
    width: 100%;
  }
}
@media screen and (width > 767px), print {
  .search_form_inner dl dt {
    position: absolute;
    top: 0;
    left: 0;
  }
}
.search_form .ttl {
  margin-top: 0;
  color: var(--ttl-black);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
@media screen and (width > 767px), print {
  .search_form .ttl {
    width: 20rem;
  }
}
.search_form label:has(input[type=checkbox]) {
  padding-left: 3rem;
  position: relative;
  line-height: 1.5;
}
.search_form label:has(input[type=checkbox])::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2rem;
  background-color: var(--white);
  border: 0.1rem solid #B8B6BF;
  border-radius: 0.3rem;
  position: absolute;
  top: 0.3rem;
  left: 0;
}
.search_form label:has(input[type=checkbox])::after {
  content: "";
  display: block;
  width: 1.3rem;
  height: 0.7rem;
  border-left: 0.2rem solid var(--main-color);
  border-bottom: 0.2rem solid var(--main-color);
  position: absolute;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  top: 0.8rem;
  left: 0.4rem;
  opacity: 0;
}
.search_form label:has(input[type=checkbox]:checked)::after {
  opacity: 1;
}
.search_form label input[type=checkbox] {
  position: absolute;
}
.search_form .btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1rem;
  width: 16rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  padding-inline: 1.5rem;
}
@media screen and (width <= 767px) {
  .search_form .btn {
    margin-inline: auto;
  }
}
.search_form .btn::before {
  background-color: var(--white);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-transition: background-color 0.4s;
  transition: background-color 0.4s;
}
@media screen and (width > 767px), print {
  .search_form .btn:hover::before {
    background-color: var(--main-color);
  }
}
@media screen and (width > 767px), print {
  .search_form.-keyword .search_form_inner {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.search_form.-keyword input[type=text] {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  padding: 1rem;
  background-color: var(--white);
  border: 0.1rem solid #B8B6BF;
  border-radius: 0.3rem;
}
.search_form.-keyword input[type=text]::-webkit-input-placeholder {
  color: #B3B3B3;
}
.search_form.-keyword input[type=text]::-moz-placeholder {
  color: #B3B3B3;
}
.search_form.-keyword input[type=text]:-ms-input-placeholder {
  color: #B3B3B3;
}
.search_form.-keyword input[type=text]::-ms-input-placeholder {
  color: #B3B3B3;
}
.search_form.-keyword input[type=text]::placeholder {
  color: #B3B3B3;
}
.search_form.-keyword .btn.-search::before {
  content: "";
  display: block;
  width: 2.3rem;
  height: 2.3rem;
  -webkit-mask-image: url(../images/icon_search.svg);
          mask-image: url(../images/icon_search.svg);
}
@media screen and (width > 767px), print {
  .search_form.-filter .search_form_inner {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}
.search_form.-filter .btn.-filter {
  margin-top: auto;
}
.search_form.-filter .btn.-filter::before {
  content: "";
  display: block;
  width: 1.8rem;
  height: 1.8rem;
  -webkit-mask-image: url(../images/icon_filter.svg);
          mask-image: url(../images/icon_filter.svg);
}

#case_list .case_list {
  margin-top: 5rem;
  gap: 3rem 4.5rem;
}

@media screen and (width <= 767px) {
  [data-page=detail] > section.container:first-of-type {
    margin-top: 4rem;
  }
}
[data-page=detail] .case_study_head time {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--gray-8);
  line-height: 1.5;
}
[data-page=detail] .case_study_head .type {
  display: inline-block;
  padding: 0.1rem 1.5rem;
  background-color: var(--ttl-blue);
  color: var(--white);
  font-weight: 500;
  line-height: 1.5;
}
[data-page=detail] .case_study_head h1 {
  margin-top: 1.7rem;
  color: var(--ttl-black);
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.28;
}
@media screen and (width <= 767px) {
  [data-page=detail] .case_study_head h1 {
    font-size: 2.8rem;
  }
}
@media screen and (width > 767px), print {
  [data-page=detail] .case_study_head h1 {
    font-size: 4.2rem;
  }
}
[data-page=detail] .case_study_head .keywords {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 3rem;
}
@media screen and (width <= 767px) {
  [data-page=detail] .case_study_head .keywords {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 1rem;
  }
}
@media screen and (width > 767px), print {
  [data-page=detail] .case_study_head .keywords {
    gap: 0.5rem;
  }
}
[data-page=detail] .case_study_head .keywords .ttl {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
[data-page=detail] .case_study_head .keywords ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1rem;
}
[data-page=detail] .case_study_head .keywords ul a {
  color: var(--main-color);
  text-decoration: underline;
}
@media screen and (width > 767px), print {
  [data-page=detail] .case_study_head .keywords ul a:hover {
    text-decoration: none;
  }
}
@media screen and (width <= 767px) {
  [data-page=detail] article > *:first-child {
    margin-top: 2rem;
  }
}
@media screen and (width > 767px), print {
  [data-page=detail] article > *:first-child {
    margin-top: 3rem;
  }
}
[data-page=detail] article .box.-gray h2 {
  padding-left: 0;
  color: var(--ttl-blue);
}
[data-page=detail] article .box.-gray h2::before {
  content: none;
}
@media screen and (width > 767px), print {
  [data-page=detail] article h2:not(:first-child) {
    margin-top: 8rem;
    scroll-margin-top: 7.5rem;
  }
}
@media screen and (width <= 767px) {
  [data-page=detail] article h2:not(:first-child) {
    margin-top: 9rem;
    scroll-margin-top: 5.5rem;
  }
}
@media screen and (width <= 767px) {
  [data-page=detail] article .column2:has(> .txt_wrap) {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
@media screen and (width > 767px), print {
  [data-page=detail] article .column2:has(> .txt_wrap) {
    gap: 4.5rem;
  }
}
[data-page=detail] article .column2:has(> .txt_wrap) .txt_wrap {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
@media screen and (width > 767px), print {
  [data-page=detail] article .column2:has(> .txt_wrap) > figure {
    width: 37rem;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
}
@media screen and (width > 767px), print {
  [data-page=detail] article .box.-border {
    margin-top: 8rem;
  }
}
@media screen and (width <= 767px) {
  [data-page=detail] article .box.-border {
    margin-top: 9rem;
  }
}
[data-page=detail] > .btn_wrap {
  margin-top: 7rem;
}