@charset "UTF-8";
.case-mv {
  position: relative;
}

.case-mv__title {
  position: absolute;
  top: 41.5%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 50px;
  font-weight: 500;
  text-align: center;
  z-index: 100;
}
.case-mv__title span {
  display: block;
  margin-top: -7px;
  font-size: 18px;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 768px) {
  .case-mv__title {
    font-size: 40px;
  }
  .case-mv__title span {
    font-size: 15px;
  }
}

.case-mv__image {
  width: 100%;
}

.case-mv__image img {
  width: 100%;
  max-width: 100%;
}

.case-fav {
  padding: 23px 0 34px;
}
@media screen and (max-width: 768px) {
  .case-fav {
    padding: 18px 0 20px;
  }
}

.case-fav__head {
  padding-bottom: 19px;
  border-bottom: 1px solid #d8d2c5;
}
@media screen and (max-width: 768px) {
  .case-fav__head {
    padding-bottom: 14px;
  }
}

.case-fav__section {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}
.case-fav__section span {
  margin-left: 12px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #888;
}
@media screen and (max-width: 768px) {
  .case-fav__section {
    font-size: 18px;
  }
  .case-fav__section span {
    margin-left: 6px;
    font-size: 11px;
  }
}

.case-fav__title {
  margin: 35px 0 0;
  font-size: 32px;
  font-weight: 500;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .case-fav__title {
    margin-top: 20px;
    font-size: 20px;
  }
}

.case-fav__count {
  margin: 31px 0 0;
  font-size: 15px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .case-fav__count {
    margin-top: 8px;
    font-size: 14px;
  }
}

.case-fav__empty {
  margin: 0;
  padding: 40px 0;
  font-size: 16px;
  text-align: center;
  color: #555;
}
@media screen and (max-width: 768px) {
  .case-fav__empty {
    font-size: 14px;
  }
}

.case-search__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
@media screen and (max-width: 768px) {
  .case-search__tags {
    gap: 8px;
    margin-top: 14px;
  }
}

.case-search__tag {
  padding: 6px 16px;
  background: #e7e0d2;
  border-radius: 999px;
  color: #5a5344;
  font-size: 14px;
  line-height: 1.3;
}
@media screen and (max-width: 768px) {
  .case-search__tag {
    padding: 5px 12px;
    font-size: 12px;
  }
}

.case-gallery {
  background: #f5f1e9;
}

.case-container {
  max-width: 1300px;
  padding: 0 25px;
  width: 100%;
  margin: auto;
}

.case-filter {
  padding: 33px 20px;
}
@media screen and (max-width: 768px) {
  .case-filter {
    padding: 30px 12px;
  }
}

.case-filter__inner {
  position: relative;
  max-width: 1180px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  .case-filter__inner {
    flex-direction: column;
    gap: 12px;
  }
}

.case-filter__button {
  position: relative;
  display: block;
  width: auto;
  min-width: 340px;
  margin: 0;
  padding: 17px 30px 17px 0px;
  background: #243952;
  border-radius: 999px;
  color: #fff;
  font-size: 20px;
  font-family: inherit;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}
.case-filter__button::before {
  content: "＋";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  font-size: 18px;
  line-height: 1;
}
.case-filter__button:hover {
  opacity: 0.85;
}
@media screen and (max-width: 768px) {
  .case-filter__button {
    min-width: 0;
    width: 100%;
    padding: 17px 40px;
    font-size: 15px;
    max-width: 280px;
  }
}

.case-filter__fav {
  position: fixed;
  bottom: 90px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 66px;
  height: 66px;
  padding: 6px 4px;
  border: none;
  border-radius: 50%;
  background: #e8611e;
  color: #fff;
  font-size: 10px;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  z-index: 999;
}
.case-filter__fav:hover {
  opacity: 0.85;
}
.case-filter__fav.is-active {
  background: #243952;
}
@media screen and (max-width: 768px) {
  .case-filter__fav {
    width: 61px;
    height: 61px;
  }
}

.case-filter__fav-icon {
  display: block;
  width: 20px;
  height: 25px;
}
@media screen and (max-width: 768px) {
  .case-filter__fav-icon {
    width: 14px;
    height: 18px;
  }
}
.case-filter__fav-icon img {
  width: 100%;
}

.case-gallery {
  padding: 100px 0 80px;
}
@media screen and (max-width: 768px) {
  .case-gallery {
    padding: 42px 0 56px;
  }
  .case-gallery .container {
    padding: 0 16px;
  }
}

.case-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media screen and (max-width: 768px) {
  .case-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.case-card {
  position: relative;
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 8px;
}
.case-card.is-hidden {
  display: none;
}

.case-card__link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.case-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.case-card__fav {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  display: block;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: url("../img/icon_fav_off.svg") no-repeat center/contain;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.case-card__fav.is-active {
  background-image: url("../img/icon_fav_on.svg");
}

.case-card__main img {
  display: block;
  width: 100%;
  max-height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
}

.case-card__thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 2px;
}

.case-card__thumb img {
  display: block;
  width: 100%;
  max-height: 100px;
  -o-object-fit: cover;
     object-fit: cover;
}

.case-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 22px 12px 18px;
}
@media screen and (max-width: 768px) {
  .case-card__body {
    padding: 22px 12px 10px;
  }
}

.case-card__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .case-card__title {
    font-size: 17px;
  }
}

.case-card__spec-row {
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.case-card__spec {
  flex: 1 1 auto;
}

.case-card__spec-line {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #555;
}
@media screen and (max-width: 768px) {
  .case-card__spec-line {
    font-size: 14px;
  }
}

.case-card__badge {
  flex: 0 0 74px;
  width: 74px;
}
@media screen and (max-width: 768px) {
  .case-card__badge {
    flex-basis: 59px;
    width: 59px;
  }
}
.case-card__badge img {
  width: 100%;
}

.case-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 24px;
}
@media screen and (max-width: 768px) {
  .case-card__tags {
    gap: 7px;
    margin: 6px 0 19px;
  }
}

.case-card__tag {
  position: relative;
  z-index: 2;
  display: block;
  padding: 6px 17px;
  border-radius: 999px;
  background: #e8e2d6;
  color: #7a7469;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s;
}
.case-card__tag:hover {
  background: #dcd4c3;
}
@media screen and (max-width: 768px) {
  .case-card__tag {
    padding: 5px 17px;
    font-size: 12px;
  }
}

.case-card__more {
  position: relative;
  display: block;
  margin-top: auto;
  padding-right: 33px;
  color: #243952;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}
.case-card__more::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #243952;
  transform: translateY(-50%);
}
.case-card__more::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}

.case-card__link:hover .case-card__main img {
  opacity: 0.85;
}

.case-more {
  display: block;
  width: 340px;
  margin: 56px auto 0;
  padding: 15px 26px 15px 0;
  background: #fff;
  border: 1px solid #243952;
  border-radius: 999px;
  color: #243952;
  font-size: 20px;
  text-align: center;
  cursor: pointer;
}
.case-more span {
  position: relative;
}
.case-more span::after {
  content: "";
  position: absolute;
  top: 34%;
  right: -27px;
  width: 15px;
  height: 14px;
  border-bottom: 2px solid #243952;
  border-right: 2px solid #243952;
  transform: translateY(-50%) rotate(45deg);
}
.case-more:hover {
  background: #243952;
  color: #fff;
}
.case-more:hover span::after {
  border-color: #fff;
}
@media screen and (max-width: 768px) {
  .case-more {
    width: 80%;
    max-width: 320px;
    margin-top: 40px;
  }
}

.case-banner {
  padding: 150px 0;
}
@media screen and (max-width: 768px) {
  .case-banner .container {
    padding: 0 16px;
  }
}
@media screen and (max-width: 768px) {
  .case-banner {
    padding: 80px 0;
  }
}

.case-banner__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media screen and (max-width: 768px) {
  .case-banner__list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.case-banner__item a {
  display: block;
  overflow: hidden;
  border-radius: 6px;
}
.case-banner__item img {
  display: block;
  width: 100%;
  height: auto;
  transition: 0.3s;
}
.case-banner__item a:hover img {
  opacity: 0.85;
}
.case-banner__item:last-child {
  grid-column: 1/-1;
}

.case-voice {
  padding: 0 0 80px;
}
@media screen and (max-width: 768px) {
  .case-voice .container {
    padding: 0 16px;
  }
}
@media screen and (max-width: 768px) {
  .case-voice {
    padding: 0 0 56px;
  }
}

.case-voice__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px;
  background: #efe9df;
  border-radius: 8px;
}
@media screen and (max-width: 768px) {
  .case-voice__inner {
    flex-direction: column;
    gap: 24px;
    padding: 28px 20px;
  }
}

.case-voice__text {
  flex: 0 0 40%;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .case-voice__text {
    flex-basis: auto;
  }
}

.case-voice__label {
  margin: 0;
  font-size: 20px;
  font-style: italic;
  color: #333;
}

.case-voice__title {
  margin: 4px 0 0;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #222;
}
@media screen and (max-width: 768px) {
  .case-voice__title {
    font-size: 28px;
  }
}

.case-voice__sub {
  position: relative;
  display: inline-block;
  margin: 12px 0 24px;
  padding: 0 44px;
  font-size: 13px;
  color: #555;
}
.case-voice__sub::before, .case-voice__sub::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 34px;
  height: 1px;
  background: #999;
}
.case-voice__sub::before {
  left: 0;
}
.case-voice__sub::after {
  right: 0;
}

.case-voice__button {
  position: relative;
  display: inline-block;
  min-width: 260px;
  padding: 15px 40px;
  background: #fff;
  border: 1px solid #243952;
  border-radius: 999px;
  color: #243952;
  font-size: 15px;
  text-decoration: none;
}
.case-voice__button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 7px;
  height: 7px;
  border-top: 2px solid #243952;
  border-right: 2px solid #243952;
  transform: translateY(-50%) rotate(45deg);
}
.case-voice__button:hover {
  background: #243952;
  color: #fff;
}
.case-voice__button:hover::after {
  border-color: #fff;
}
@media screen and (max-width: 768px) {
  .case-voice__button {
    width: 100%;
    min-width: 0;
  }
}

.case-voice__image {
  flex: 1 1 auto;
}
.case-voice__image img {
  display: block;
  width: 100%;
  height: auto;
}

.modal-wrap {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
  padding: 120px 60px 60px;
  z-index: 999999;
  overflow: scroll;
  font-family: "Noto Sans JP", sans-serif;
}
@media screen and (max-width: 768px) {
  .modal-wrap {
    padding: 60px 15px;
  }
}

.modal-overlay {
  content: "";
  background-color: rgba(0, 0, 0, 0.3);
  height: 100vh;
  position: fixed;
  width: 100%;
  display: block;
  top: 0;
  left: 0;
  z-index: -1;
}

.modal {
  position: relative;
  background: #fff;
  max-width: 100%;
  width: 600px;
  margin: auto;
  padding-top: 1px;
}

.modal-close {
  cursor: pointer;
  position: absolute;
  right: 0;
  top: -50px;
  width: 40px;
  height: 50px;
}
.modal-close span {
  position: absolute;
  top: 15px;
  left: 0;
  background: #fff;
  width: 40px;
  height: 2px;
}
.modal-close span:nth-child(1) {
  transform: rotate(45deg);
}
.modal-close span:nth-child(2) {
  transform: rotate(135deg);
}

.modal-block:not(:first-of-type) {
  margin-top: 50px;
}
@media screen and (max-width: 768px) {
  .modal-block:not(:first-of-type) {
    margin-top: 40px;
  }
}

.modal-block-title {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.modal-block-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 90px;
}
@media screen and (max-width: 768px) {
  .modal-block-list {
    padding: 0 20px;
  }
}

.modal-block-item {
  display: inline-block;
}
.modal-block-item a {
  margin: 18px 10px 0 0;
  padding: 7px 10px 8px;
  display: inline-block;
  border: 1px solid #243952;
  border-radius: 3px;
  color: #243952;
  font-size: 15px;
  line-height: 1;
}
.modal-block-item a:hover {
  background: #eaf2ef;
}
@media screen and (max-width: 768px) {
  .modal-block-item a {
    padding: 5px;
    font-size: 12px;
  }
}

.modal-button-all {
  width: 100%;
  display: block;
  margin-top: 50px;
  padding: 20px 0;
  background: #243952;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}
.modal-button-all:hover {
  opacity: 0.7;
}

.modal--search {
  width: 1080px;
  background: #f5f1e9;
  padding: 48px 56px 56px;
  border-radius: 6px;
}
@media screen and (max-width: 960px) {
  .modal--search {
    padding: 40px 32px 44px;
  }
}
@media screen and (max-width: 768px) {
  .modal--search {
    width: 100%;
    padding: 28px 18px 36px;
    border-radius: 4px;
  }
}

.search-filter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
@media screen and (max-width: 768px) {
  .search-filter__head {
    margin-bottom: 20px;
  }
}

.search-filter__title {
  margin: 0;
  color: #243952;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}
@media screen and (max-width: 768px) {
  .search-filter__title {
    font-size: 20px;
  }
}

.search-filter__reset {
  flex-shrink: 0;
  padding: 12px 34px;
  background: #9d9483;
  border: none;
  border-radius: 999px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}
.search-filter__reset:hover {
  opacity: 0.85;
}
@media screen and (max-width: 768px) {
  .search-filter__reset {
    padding: 10px 22px;
    font-size: 13px;
  }
}

.search-filter__group {
  padding: 26px 0;
  border-top: 1px solid #d8d2c5;
}
.search-filter__group:first-of-type {
  border-top: none;
  padding-top: 0;
}
@media screen and (max-width: 768px) {
  .search-filter__group {
    padding: 20px 0;
  }
}

.search-filter__label {
  margin: 0 0 18px;
  color: #243952;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
@media screen and (max-width: 768px) {
  .search-filter__label {
    margin-bottom: 14px;
    font-size: 16px;
  }
}

.search-filter__options {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media screen and (max-width: 960px) {
  .search-filter__options {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .search-filter__options {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
  }
}

.search-filter__option {
  min-width: 0;
}

.search-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
@media screen and (max-width: 768px) {
  .search-check {
    gap: 8px;
  }
}

.search-check__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.search-check__box {
  position: relative;
  flex-shrink: 0;
  display: block;
  width: 22px;
  height: 22px;
  background: #fff;
  border: 1px solid #c8c0b0;
  border-radius: 4px;
  transition: background-color 0.15s, border-color 0.15s;
}
.search-check__box::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
}

.search-check__text {
  font-size: 15px;
  line-height: 1.4;
  color: #333;
}
@media screen and (max-width: 768px) {
  .search-check__text {
    font-size: 13px;
  }
}

.search-check__input:checked + .search-check__box {
  background: #9d9483;
  border-color: #9d9483;
}
.search-check__input:checked + .search-check__box::after {
  opacity: 1;
}

.search-check__input:focus-visible + .search-check__box {
  outline: 2px solid #243952;
  outline-offset: 2px;
}

.search-filter__foot {
  margin-top: 40px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .search-filter__foot {
    margin-top: 28px;
  }
}

.search-filter__submit {
  position: relative;
  display: inline-block;
  min-width: 340px;
  padding: 20px 56px;
  background: #243952;
  border: none;
  border-radius: 999px;
  color: #fff;
  font-family: inherit;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}
.search-filter__submit:hover {
  opacity: 0.85;
}
@media screen and (max-width: 768px) {
  .search-filter__submit {
    min-width: 0;
    width: 100%;
    max-width: 320px;
    padding: 17px 40px;
    font-size: 16px;
  }
}

.search-filter__submit-arrow {
  margin-left: 12px;
  font-weight: 400;
}

.search-filter__count {
  margin: 14px 0 0;
  font-size: 14px;
  color: #555;
}

.case-back {
  position: relative;
  display: block;
  border: 1px solid #243952;
  border-radius: 500px;
  width: 400px;
  max-width: 100%;
  padding: 22px 0;
  margin: 100px auto 0;
  color: #243952;
  font-size: 23px;
  font-weight: 500;
  text-align: center;
}
@media screen and (max-width: 960px) {
  .case-back {
    width: 285px;
    font-size: 18px;
    padding: 16px 43px 16px 0;
  }
}
.case-back::after {
  content: "";
  background: url(../img/icon_arrow.svg) no-repeat center center/cover;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  margin: auto;
  width: 34px;
  height: 34px;
}
@media screen and (max-width: 960px) {
  .case-back::after {
    right: 45px;
    width: 24px;
    height: 24px;
  }
}