@charset "UTF-8";

.p-case_btn--back, .p-case_btn--catalog, .p-case_btn--contact {
  display: block;
  border-radius: 4px;
  color: #fff !important;
  font-weight: bold;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-case_btn--back:hover, .p-case_btn--catalog:hover, .p-case_btn--contact:hover {
    text-decoration: none;
  }
}
.p-case_btn--back {
  position: relative;
  border: 1px solid #333;
  margin-right: auto;
  margin-left: auto;
  width: 90%;
  max-width: 320px;
  background: #fff;
  color: #333 !important;
  font-weight: normal;
  line-height: 44px;
}
.p-case_btn--back::before {
  position: absolute;
  top: 50%;
  left: 16px;
  border: 2px solid #333;
  border-top: 0;
  border-right: 0;
  width: 6px;
  height: 6px;
  -webkit-transform: translate(0, -50%) rotate(45deg);
          transform: translate(0, -50%) rotate(45deg);
  content: "";
}
@media screen and (min-width: 768px) {
  .p-case_btn--back::before {
    width: 8px;
    height: 8px;
  }
}
.p-case_btn--catalog {
  background: #009fe8;
}
.p-case_btn--contact {
  background: #eda900;
}
@media screen and (min-width: 768px) {
  .p-caseDetailIntro {
    display: flex;
    gap: 32px;
    font-size: 1.6rem;
  }
}
@media screen and (min-width: 768px) {
  .p-caseDetailIntro_pic {
    width: 45%;
  }
}
@media screen and (min-width: 768px) {
  .p-caseDetailIntro_body {
    width: 55%;
  }
}
.p-caseDetailTag {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto 1fr;
  grid-template-columns: auto 1fr;
}
@media screen and (min-width: 768px) {
  .p-caseDetailTag {
    font-size: 1.6rem;
  }
}
.p-caseDetailTag_ttl, .p-caseDetailTag_body {
  margin-top: 8px;
}
.p-caseDetailTag_ttl:first-of-type, .p-caseDetailTag_body:first-of-type {
  margin-top: 0;
}
.p-caseDetailTag_ttl {
  font-weight: bold;
}
.p-caseDetailTag_link {
  display: inline-block;
  color: inherit !important;
  text-decoration: underline !important;
}
.p-caseList {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[2];
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 16px;
}
@media screen and (min-width: 768px) {
  .p-caseList {
    -ms-grid-columns: (1fr)[3];
    grid-template-columns: repeat(3, 1fr);
    gap: 64px 32px;
  }
}
.p-caseList_link {
  display: block;
}
.p-caseList_ttl {
  position: relative;
  margin-top: 8px;
  padding-left: 20px;
  font-size: 1.6rem;
  font-weight: bold;
}
@media screen and (min-width: 768px) {
  .p-caseList_ttl {
    font-size: 2rem;
  }
}
.p-caseList_ttl::before {
  position: absolute;
  top: 9px;
  left: 0;
  border: 2px solid #009fe8;
  border-bottom: 0;
  border-left: 0;
  width: 6px;
  height: 6px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  content: "";
}
@media screen and (min-width: 768px) {
  .p-caseList_ttl::before {
    top: 10px;
    width: 8px;
    height: 8px;
  }
}
.p-caseList_ttl a {
  color: inherit;
}
.p-caseListTag {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
  font-size: 1.2rem;
}
@media screen and (min-width: 768px) {
  .p-caseListTag {
    gap: 8px;
    font-size: 1.4rem;
  }
}
.p-caseListTag_link {
  display: inline-block;
  border: 1px solid;
  border-radius: 3px;
  padding: 0 4px;
  color: inherit !important;
}
@media screen and (min-width: 768px) {
  .p-caseListTag_link:hover {
    text-decoration: none !important;
  }
}
.p-caseProduct {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media screen and (min-width: 768px) {
  .p-caseProduct {
    -ms-grid-columns: 1fr 32px 2.5fr 32px 0.8fr;
    grid-template-columns: 1fr 2.5fr 0.8fr;
    -ms-grid-rows: auto 24px 1fr 24px auto;
    grid-template-rows: auto 1fr auto;
    gap: 24px 32px;
        grid-template-areas: "pic ttl ttl" "pic txt btn" "pic bnr bnr";
    font-size: 1.6rem;
  }
}
@media screen and (min-width: 768px) {
  .p-caseProduct_body {
    grid-area: txt;
  }
}
@media screen and (min-width: 768px) {
  .p-caseProduct_bnr {
    grid-area: bnr;
  }
}
.p-caseProduct_pic {
  display: flex;
  align-items: center;
  padding: 16px;
  background: #fff;
}
@media screen and (max-width: 767px) {
  .p-caseProduct_pic {
    margin-right: auto;
    margin-left: auto;
    width: 60%;
  }
}
@media screen and (min-width: 768px) {
  .p-caseProduct_pic {
    grid-area: pic;
  }
}
.p-caseProduct_ttl {
  font-weight: bold;
}
@media screen and (min-width: 768px) {
  .p-caseProduct_ttl {
    grid-area: ttl;
    font-size: 2rem;
  }
}
.p-caseProduct_btn {
  line-height: 36px;
  font-size: 1.4rem;
}
@media screen and (min-width: 768px) {
  .p-caseProductBtn {
    grid-area: btn;
  }
}
@media screen and (min-width: 768px) {
  .p-caseProduct_body {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
  }
  .p-caseProduct_bnr {
    -ms-grid-row: 5;
    -ms-grid-column: 3;
    -ms-grid-column-span: 3;
  }
  .p-caseProduct_pic {
    -ms-grid-row: 1;
    -ms-grid-row-span: 5;
    -ms-grid-column: 1;
  }
  .p-caseProduct_ttl {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
    -ms-grid-column-span: 3;
  }
  .p-caseProductBtn {
    -ms-grid-row: 3;
    -ms-grid-column: 5;
  }
}
.p-caseSearch {
  padding: 16px 3%;
  background: #fff;
}
@media screen and (min-width: 768px) {
  .p-caseSearch {
    padding: 24px 32px;
  }
}
.p-caseSearch_btn--reset, .p-caseSearch_btn--submit {
  -webkit-appearance: none;
          appearance: none;
  outline: none;
  border: none;
  padding: 0;
  background-color: transparent;
  cursor: pointer;
}
@media screen and (min-width: 768px) {
  .p-caseSearch_btn--reset, .p-caseSearch_btn--submit {
    font-size: 1.6rem;
  }
}
@media screen and (min-width: 768px) {
  .p-caseSearch_btn--reset:hover {
    text-decoration: underline;
  }
}
.p-caseSearch_btn--submit {
  border-radius: 4px;
  width: 140px;
  line-height: 44px;
  background: #000;
  color: #fff;
}
@media screen and (min-width: 768px) {
  .p-caseSearch_btn--submit {
    transition: opacity 0.4s;
  }
}
@media screen and (min-width: 768px) {
  .p-caseSearch_btn--submit:hover {
    opacity: 0.6;
  }
}
.p-caseSearchBtn {
  display: flex;
  justify-content: center;
  gap: 0 16px;
  margin-top: 16px;
}
@media screen and (min-width: 768px) {
  .p-caseSearchBtn {
    gap: 0 32px;
    margin-top: 32px;
  }
}
@media screen and (min-width: 768px) {
  .p-caseSearchList {
    font-size: 1.6rem;
  }
}
.p-caseSearchList_ttl {
  padding: 8px 8px 0;
  font-weight: bold;
}
@media screen and (min-width: 768px) {
  .p-caseSearchList_ttl {
    padding: 16px 16px 0;
  }
}
.p-caseSearchList_ttl:first-of-type {
  padding-top: 0;
}
.p-caseSearchList_body {
  border-bottom: 1px solid #ccc;
  padding: 8px;
}
@media screen and (min-width: 768px) {
  .p-caseSearchList_body {
    padding: 16px;
  }
}
.p-caseSearchList_item {
  display: inline-block;
  margin-right: 1em;
  line-height: 1.75;
}