@charset "utf-8";

/* -----------------------------------------------------
一覧
----------------------------------------------------- */
.post_list_wrapper.case .introduction {
  margin-bottom: 32px;
}
.post_list_wrapper.case .post_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, 31.6%);
  grid-gap: 28px 2.5%;
}
.post_list_wrapper.case .post_list.swiper {
  display: block;
}
.post_list_wrapper.case .swiper .swiper-wrapper {
  width: fit-content;
  margin: 0 auto;
}
.post_list_wrapper.case a {
  flex-flow: column;
  gap: 14px;
  border: 3px solid var(--main_color);
  border-radius: 18px;
  padding: 24px 24px;
}

.post_list_wrapper.case .content {
  display: flex;
  flex-flow: column;
  gap: 5px;
}

.post_list_wrapper.case .private_label {
  font-size: 1.4rem;
  margin-bottom: 0.2em;
}

.post_list_wrapper.case .title_name {
  margin-bottom: 16px;
}
.post_list_wrapper.case .title {
  font-size: 2rem;
  line-height: 1.45;
  margin-bottom: 0.5em;
}
.post_list_wrapper.case .katagaki {
  font-size: 1.4rem;
  line-height: 1.5;
}
.post_list_wrapper.case .name {
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--gray_color);
  font-weight: 400 !important;
}
.post_list_wrapper.case .excerpt {
  padding: 1em 1.3em;
  font-size: 1.3rem;
  line-height: 1.6;
  background-color: var(--gray_color_super_light);
}
.google_font_noto_sans_sans .post_list_wrapper.case .name,
.google_font_noto_sans_serif .post_list_wrapper.case .name {
  font-weight: 500;
}
.post_list_wrapper.case .kana {
  font-size: 1.4rem;
  color: var(--gray_color);
  line-height: 1.5;
}
.post_list_wrapper.case .img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 6px;
}
.post_list_wrapper.case .img img,
.post_list_wrapper.case .img svg {
  transition: transform 0.4s;
  transform: scale(1);
  will-change: transform;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.post_list_wrapper.case a:hover .img img,
.post_list_wrapper.case a:hover .img svg {
  transform: scale(1.04);
}

.contents_swiper:has(.carousel) .swiper-button {
  background-color: var(--main_color);
  height: 130px;
  border-radius: 5px;
  margin-top: -65px;
}
@media (max-width: 1200px) {
  .post_list_wrapper.case .post_list {
    grid-template-columns: repeat(auto-fit, 32%);
    grid-gap: 20px 2%;
  }
  .post_list_wrapper.case .title {
    font-size: 1.9rem;
  }
}
@media (max-width: 1000px) {
  .post_list_wrapper.case .post_list {
    grid-template-columns: repeat(auto-fit, 48.5%);
    grid-gap: 18px 3%;
  }
}
@media (max-width: 786px) {
  .post_list_wrapper.case .title {
    font-size: 1.8rem;
  }
}
@media (max-width: 640px) {
  .post_list_wrapper.case .post_list {
    grid-template-columns: repeat(auto-fit, 100%);
    grid-gap: 24px;
  }
}

/* -----------------------------------------------------
詳細
----------------------------------------------------- */
.post_detail_wrapper.case .main_img {
  margin-bottom: 30px;
}
.post_detail_wrapper.case .main_img img {
  width: 100%;
}
.post_detail_wrapper.case header .title {
  font-size: 3.0rem;
  font-weight: bold;
  margin-bottom: 0.4em;
}
.post_detail_wrapper.case header .name {
  margin-bottom: 1em;
}

.post_detail_wrapper.case .case_contents {
  border: 1px solid var(--black_color);
  padding: 4% 5.5%;
  border-radius: 6px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.post_detail_wrapper.case .case_contents h3 {
  font-size: 2.2rem;
  font-weight: bold;
  position: relative;
  padding-left: 32px;
  letter-spacing: 0.01em;
  margin-bottom: 0.8em;
}
.post_detail_wrapper.case .case_contents h3::before {
  position: absolute;
  font-family: 'Material Symbols Outlined';
  font-variation-settings:
    'FILL' 1,
    'wght' 100,
    'GRAD' 0,
    'opsz' 24;
  content: '\e253';
  top: -3px;
  left: 0;
  font-size: 26px;
}
.post_detail_wrapper.case .case_contents .naiyo {
  font-size: 1.6rem;
}

.post_detail_wrapper.case .comment {
  margin-top: 50px;
  background-color: var(--gray_color_super_light);
  padding: 26px 34px;
  font-size: 1.6rem;
}

