* {
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: 150px;
}

/*---------- SNSボタン ---------*/
.sns-tab {
  position: relative;
}
.sns-scroll {
  position: fixed;
  bottom: 20px;
  right: 0;
  background-color: #f0f5fa;
  border: solid 2px #111111;
  border-radius: 5px 0px 0px 5px;
  border-right: none;
  padding: 30px 25px 10px 25px;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sns-scroll.active {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.sns-scroll a img {
  width: 50px;
}
.sns-opcl {
  position: fixed;
  bottom: 265px;
  right: 25px;
  background-color: rgba(0, 0, 0);
  color: white;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  z-index: 121;
  width: 25px;
  height: 25px;
  transform: rotate(0deg);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.sns-opcl::before {
  content: "→";
  font-size: 20px;
  display: inline-block;
  transform: rotate(0deg);
}
.sns-opcl.active {
  transform: rotate(-180deg);
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 0.5;
}
.sns-opcl.active::before {
  content: "SNS";
  font-size: 16px;
  transform: rotate(180deg);
}
@media screen and (max-width: 820px) {
  .sns-tab {
    display: none;
  }
}

/* ----------メイン---------- */
.contents-list {
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.bg-blue-1 {
  position: absolute;
  bottom: 2%;
  left: 0;
  width: 80%;
  height: 80%;
  background-color: #f8fcfc;
  /* background-color: #27cece; */
  z-index: 0;
}
a {
  text-decoration: none;
}
@media screen and (max-width: 820px) {
  .sp {
    display: none;
  }
}

/* ----------コンテンツサーチ---------- */
.content-search {
  background-color: aqua;
  text-align: center;
  padding: 100px 0 100px 0;
}

.category-btn {
  display: flex;
  width: fit-content;
  margin: 3%;
  background-color: #109f98;
  color: #ffffff;
  padding: 10px 40px;
  border: none;
  border-radius: 50px;
  justify-content: center;
  align-items: center;
  align-self: center;
  cursor: pointer;
  text-align: center;
}

/* ----------ストックフォト追加---------- */
.category-btn-list {
  display: flex;
  width: fit-content;
  margin-right: 3%;
  color: #109f98;
  padding: 5px 15px 5px 30px;
  border: 1px solid #109f98;
  border-radius: 50px;
  justify-content: space-between;
  align-items: center;
  align-self: center;
  cursor: pointer;
  text-align: center;
  position: relative;
}

.category-btn-list::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 14px; /* 画像サイズ */
  height: 20px;
  left: 8px;
  top: 4px;

  background-color: #109f98; /* 好きな色に変更 */
  mask: url("/html/user_data/assets/icon/btn_ic_search.svg") no-repeat center;
  mask-size: contain;
  -webkit-mask: url("/html/user_data/assets/icon/btn_ic_search.svg") no-repeat
    center;
  -webkit-mask-size: contain;
}

/* ----------ストックフォト追加 end---------- */

/* ----------商品リスト---------- */
.list-view {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: rgb(255, 255, 255);
  margin: 100px 15% 100px 15%;
  padding: 20px;
  border: solid 1px;
  border-color: #555555;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.list-view h2 {
  border: solid 3px #109f98;
  border-right: none;
  border-top: none;
  border-bottom: none;
  text-align: left;
  padding: 0 0 0 10px;
  color: #111111;
  /* font */
}
.list-title {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 0 15px;
}

.tax {
  display: flex;
  align-items: end;
  font-size: 12px;
}

@media screen and (max-width: 820px) {
  .list-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 0 10px;
  }
}

.list-title-left {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 820px) {
  .list-title-left {
    display: flex;
    align-items: center;
  }
}

@media screen and (max-width: 820px) {
  .list-title-right {
    margin: 20px 0;
  }
}

.ec-topicpath__title span {
  font-size: 24px;
  font-weight: normal;
  padding: 0 0 0 20px;
}

.ec-topicpath__item {
  color: #111111;
}

.list-title-right {
  color: #111111;
}

.lead-sentence {
  margin: 20px 0 20px 0;
  padding: 20px;
  background-color: #f8f9fc;
}
/* ストックフォト用の写真配列 */
.list-area {
  /* display: flex; */
  /* justify-content: space-around; */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 20px 0 20px 0;
  flex-wrap: wrap;
  /* gap:1.5% 4%; */
  gap: 16px;
}
/* ストックフォト用の写真配列 */
.no_item {
  margin: 20px 0 0 15px;
}

@media screen and (max-width: 820px) {
  .no_item {
    margin: 20px 0 0 10px;
  }
}

.card-1 {
  /* width: calc(100% / 5 - 30px); */

  flex-direction: column;
  align-items: center;
  position: relative;
  /* margin-bottom:25px; */
}

.card-1 h3,
.card-1 p {
  width: 100%;
  display: flex;
  color: #111111;
}

/* ストックフォト用の写真配列 */
.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    max-width: 600px;
    margin: 0 auto;
    background-color: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.card-1 a,
.card-1 a img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.card-1 h3 {
  border: solid 2px #109f98;
  padding-left: 5px;
  border-right: none;
  border-top: none;
  border-bottom: none;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* 表示したい行数 */
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .list-view {
    margin: 10px 3% 20px 3%;
  }
  .list-area {
    padding: 10px;
    grid-template-columns: repeat(2, 1fr);
  }
  .content-1 {
    margin: 0 3% 20px 3%;
    padding: 20px;
    border-radius: 10px;
  }
  .card-1 {
    /* width: calc(100% / 3 - 10px); */
  }
  .card-1 h3,
  .card-1 p {
    font-size: 12px;
  }

  .card-1 h3 {
  }

  .card-1 a img {
    /* width: 100%; */
    /* height: 36vw; */
  }
}

/* ----------ページネーション---------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: relative;
}
.page-advance,
.page-return {
  display: flex;
  background-color: #109f98;
  width: 38px;
  height: 38px;
  color: #ffffff;
  border-radius: 50%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 10px 0 10px;
}
.page-num {
  height: 38px;
  display: flex;
  align-items: center;
}
.page-num a {
  border: solid 1px #109f98;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 15px 0 15px;
  background-color: #109f98;
  font-weight: bold;
  color: rgb(255, 255, 255);
}
.page-num a:first-child {
  border-radius: 50% 0 0 50%;
}
.page-num a:last-child {
  border-radius: 0 50% 50% 0;
}
.page-num a.active {
  border: solid 1px #109f98;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 15px 0 15px;
  background-color: #ffffff;
  font-weight: bold;
  color: #109f98;
}
