@charset "UTF-8";
/* CSS Document */

/* タグを復活させる時に以下２つをを消す */
/*.item__ul__li__a__taxonomies {
  display: none !important;
}

.item__ul__li__a ul {
  display: none !important;
}*/



.sec1 {
  margin-top: 105px;
  background: #ECE4CC;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec1__wapper {
  width: 90%;
  margin: 0 auto;
  text-align: center;
}

.sec1__wapper__icon {
  width: 25px;
  display: block;
  margin: 0 auto 10px;
}

.sec1__wapper__title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.4rem;
}


.sec1__wapper__text {
  display: block;
  width: 100px;
  margin: 0 auto;
}

.sec1__wapper__text2 {
  display: block;
  width: 160px;
  margin: 0 auto;
}

.sec1__wapper__text3 {
  display: block;
  width: 80px;
  margin: 0 auto;
}

.thanks__text {
  line-height: 1.75;
  font-weight: 400;
  margin-bottom: 50px;
}

.category__subtext {
  width: fit-content;
  margin: 0 auto 0;
}

.category__subtext img {
  display: block;
  width: auto;
  height: 20px;
}


@media (max-width: 767px) {


  .sec1 {
    margin-top: 75px;
    height: 200px;
  }

  .sec1__wapper__icon {
    width: 20px;
  }

  .sec1__wapper__title {
    font-size: 2.8rem;
    letter-spacing: 0.2rem;
  }

  .sec1__wapper__text {
    width: 80px;
  }

  .category__subtext img {
    height: 16px;
  }

}




.item {
  width: 90%;
  max-width: 1280px;
  padding: 100px 0;
  margin: 0 auto;
}

.item h2 {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 60px;
}

.item__ul {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.item__ul__li {
  width: calc(100% / 4 - 15px);
}

.item__ul__li__a__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 10px;
}

.item__ul__li__a__img img {
  transition: 0.3s;
  transition-timing-function: ease-out;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.item__ul__li__a:hover .item__ul__li__a__img img {
  scale: 1.1;
}

.item__ul__li__a__title {
  font-size: 2.4rem;
  margin-bottom: 5px;
}

.item__ul__li__a__text {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 10px;
  line-height: 1.8;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.center {
  width: 100%;
  text-align: center;
}


@media (max-width: 1023px) {
  .item__ul__li {
    width: calc(100% / 3 - 14px);
  }

  .item__ul__li__a__title {
    font-size: 2.2rem;
  }
}


@media (max-width: 767px) {

  .item h2 {
    font-size: 2rem;
  }
}


@media (max-width: 599px) {
  .item__ul__li {
    width: calc(100% / 2 - 10px);
    margin-bottom: 10px;
  }

  .item__ul__li__a__title {
    font-size: 2rem;
  }

}




.case {
  width: 90%;
  max-width: 1280px;
  padding: 50px 0 100px;
  margin: 0 auto;
}

.case__title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 60px;
}

.case__button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 300px;
  height: 80px;
  margin: 60px auto 0;
  background: #442712;
  border-radius: 100px;
  color: #FFFFFF;
}

.case__button span {
  display: block;
  position: relative;
  width: 50px;
  height: 1px;
  background: #908565;
  transition: 0.3s;
  transition-timing-function: ease-out;
}

.case__button:hover span {
  transform: translateX(15px);
}

.case__button span::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: -3.5px;
  rotate: 20deg;
  width: 20px;
  height: 1px;
  background: #908565;
}

.item__ul__li__a__subtitle {
  display: block;
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 10px;
}



.search {
  margin-bottom: 60px;
}

.search ul {
  margin-bottom: 30px;
}

.search ul li {
  display: flex;
  align-items: stretch;
}

.search ul li p {
  width: 200px;
  padding: 20px 10px;
  background: #ECE4CC;
  display: flex;
  align-items: center;
  border-bottom: dotted 1px #FFFFFF;
}

.search ul li div {
  flex: 1;
  padding: 20px;
  background: #FFFFFF;
  display: flex;
  flex-wrap: wrap;
  border-bottom: dotted 1px #ECE4CC;
  gap: 10px;
}

.search ul li div label {
  position: relative;
  display: flex;
  gap: 10px;
  width: 150px;
  line-height: 1;
}

.search ul li div label::before {
  content: "";
  display: block;
  width: 17px;
  height: 17px;
  border: solid 2px #442712;
  border-radius: 2px;
}

.search ul li div label::after {
  content: "";
  top: 2px;
  left: 5px;
  position: absolute;
  display: block;
  width: 7px;
  height: 10px;
  border-right: solid 2px #442712;
  border-bottom: solid 2px #442712;
  rotate: 45deg;
  opacity: 0;
  transition: 0.2s;
  transition-timing-function: ease-out;
}

input[type="checkbox"] {
  display: none;
}

label:has(input[type="checkbox"]:checked)::after {
  opacity: 1;
}

.submit {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  padding: 20px 0;
  background: #442712;
  color: #FFFFFF;
  border-radius: 100px;
}

.buttonarea {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

@media (max-width: 767px) {
  .search ul li {
    flex-direction: column;
  }

  .search ul li p {
    width: 100%;
  }

  .search ul li div label {
    width: calc(100% / 2 - 5px);
  }
}





/* ==============================
  タグ一覧
============================== */
.item-tags,
.item__ul__li__a__taxonomies {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.item-tags__button,
.item__ul__li__a__taxonomies li {
  font-size: 1.2rem;
  padding: 5px 20px;
  background: #FFFFFF;
  border: solid 1px #442712;
  transition: 0.3s;
  transition-timing-function: ease-out;
}


@media (hover: hover) {
  .item-tags__button:hover {
    background: #442712;
    color: #fff;
  }
}


/* ==============================
  ポップアップ背景
============================== */
.term-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.55);

  visibility: hidden;
  opacity: 0;
  overflow-y: auto;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.term-modal.is-open {
  visibility: visible;
  opacity: 1;
}


/* ==============================
  ポップアップ本体
============================== */
.term-modal__content {
  position: relative;

  width: min(1000px, 100%);
  padding: 50px 60px 65px;

  border-radius: 30px;
  background: #fffdf3;
  color: #222;

  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.term-modal.is-open .term-modal__content {
  transform: translateY(0);

  overflow-y: scroll;
}


/* ==============================
  タイトル
============================== */
.term-modal__title {
  margin: 0 0 30px !important;
  padding: 0 60px 20px 10px !important;
  border-bottom: 1px solid #999 !important;
  font-size: 2rem !important;
  text-align: left !important;
}


/* ==============================
  画像・説明文
============================== */
.term-modal__body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 35px;
  align-items: start;
}

.term-modal__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.term-modal__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.term-modal__description {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
}

.term-modal__description> :first-child {
  margin-top: 0;
}

.term-modal__description> :last-child {
  margin-bottom: 0;
}


/* ==============================
  閉じるボタン
============================== */
.term-modal__close {
  position: absolute;
  top: 20px;
  right: 28px;

  width: 44px;
  height: 44px;

  padding: 0;
  border: 0;
  border-radius: 50%;

  background: #efede4;
  cursor: pointer;
}

.term-modal__close span {
  position: absolute;
  top: 50%;
  left: 50%;

  display: block;
  width: 22px;
  height: 1.5px;

  background: #777;
}

.term-modal__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.term-modal__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}


/* ポップアップ表示中の背景固定 */
body.is-modal-open {
  overflow: hidden;
}


/* ==============================
  スマートフォン
============================== */
@media screen and (max-width: 599px) {
  .term-modal {
    align-items: flex-start;
    padding: 30px 15px;
  }

  .term-modal__content {
    padding: 55px 22px 35px;
    border-radius: 20px;
  }

  .term-modal__title {
    margin-bottom: 25px;
    padding: 0 45px 15px 0;
    font-size: 1.8rem;
  }

  .term-modal__body {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .term-modal__description {
    font-size: 1.5rem;
  }

  .term-modal__close {
    top: 15px;
    right: 18px;
    width: 38px;
    height: 38px;
  }

  .term-modal__close span {
    width: 19px;
  }
}