@charset "UTF-8";
@media only screen and (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
  /* ここにスタイルを記述 */
  body {
    overflow: hidden;
  }
  .wrapper {
    width: 100vw;
    height: 100vh;
    background-image: url(../img/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0;
    overflow: hidden;
  }
  .inner-box {
    padding: 3% 5%;
  }
  #error-message {
    display: none; /* エラーメッセージを非表示 */
  }
}
/* 指定された範囲外のスタイル */
@media only screen and (max-width: 767px), only screen and (min-width: 1367px), only screen and (orientation: portrait) {
  #error-message {
    display: block; /* エラーメッセージを表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f44336;
    color: white;
    text-align: center;
    padding: 20px;
    z-index: 1000;
  }
  .wrapper {
    display: none;
  }
}
@keyframes slideFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.body-slideFadeInUp {
  animation: slideFadeInUp 0.55s cubic-bezier(0.4, 1, 0.5, 1) forwards;
}

@media only screen and (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
  /* ここにスタイルを記述 */
  .list-header-wrap {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .list-header-wrap h1 {
    width: 160px;
    display: inline-flex;
  }
  .list-header-wrap h1 img {
    width: 100%;
  }
  .list-header-wrap p {
    width: 32px;
    display: inline-flex;
  }
  .list-header-wrap p img {
    width: 100%;
  }
  .grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列の均等な幅 */
    grid-template-rows: repeat(4, auto); /* 4行、各行の高さはコンテンツに応じて自動調整 */
    gap: 15px; /* グリッドアイテム間の隙間 */
    width: 100%; /* コンテナの横幅を100%に設定 */
    height: 65vh;
    margin-top: 30px;
  }
  .grid-container li a {
    background-color: rgba(240, 240, 240, 0.4901960784);
    display: flex;
    justify-content: left;
    height: -moz-fit-content;
    height: fit-content;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 3px 3px 18px rgba(0, 0, 0, 0.079);
  }
  .grid-container li a .user-img {
    background-color: rgba(240, 240, 240, 0.4901960784);
    width: 98px;
    height: 98px;
    position: relative;
  }
  .grid-container li a .user-img::before {
    content: ""; /* 疑似要素にはcontentプロパティが必須 */
    position: absolute; /* コンテナ内で絶対位置指定 */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.267); /* 白い半透明のフィルター */
    z-index: 1; /* 画像の上に表示 */
    border-radius: 49px;
  }
  .grid-container li a .user-img img {
    width: 100%; /* 幅を親要素に合わせて100%に設定 */
    height: 100%; /* 高さを親要素に合わせて100%に設定 */
    border-radius: 50%; /* 画像を円形にする */
    -o-object-fit: cover;
       object-fit: cover; /* 画像の比率を保ちつつ、親要素のサイズに合わせて調整 */
    position: relative; /* positionをabsoluteからrelativeに変更 */
  }
  .grid-container li a .user-detailes {
    padding-left: 15px;
  }
  .grid-container li a .user-detailes dl dt {
    color: #BFBFBF;
    font-size: 14px;
    line-height: 16px;
    padding-bottom: 5px;
  }
  .grid-container li a .user-detailes dl dd {
    color: rgb(47, 47, 47);
    font-size: 15px;
  }
  .grid-container li a .user-detailes dl:last-child {
    padding-top: 10px;
  }
  .grid-container li a .user-detailes dl:last-child dd {
    font-size: 17px;
  }
  .search-box {
    width: 94%;
    height: 90px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.3490196078);
    position: absolute;
    bottom: 10%;
    left: 3%;
    right: 3%;
  }
  .search-box dl {
    display: grid;
    grid-template-columns: repeat(11, 1fr); /* 3列の均等な幅 */
    grid-template-rows: repeat(1, auto); /* 4行、各行の高さはコンテンツに応じて自動調整 */
    gap: 14px; /* グリッドアイテム間の隙間 */
    width: 94%; /* コンテナの横幅を100%に設定 */
    margin: 0 auto;
    padding-top: 10px;
  }
  .search-box dl dd {
    text-align: center;
  }
  .search-box dl dd a, .search-box dl dd button {
    border: none;
    background-color: white;
    width: 70px;
    height: 70px;
    border-radius: 40px;
    box-shadow: 3px 3px 8px rgba(96, 96, 96, 0.2274509804);
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #8B8B8B;
    cursor: pointer;
    line-height: 65px;
  }
  .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 245, 245, 0.5);
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
    z-index: 999;
  }
  #modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0); /* 初期状態では縮小 */
    opacity: 0;
    padding: 20px;
    z-index: 1000;
    transition: opacity 0.5s, transform 0.5s; /* アニメーションの持続時間 */
  }
  #modal.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1); /* 元のサイズに戻す */
  }
  #closeModal {
    /* 閉じるボタンのスタイルをここに追加 */
    cursor: pointer;
    border: unset;
    background: unset;
    text-align: center;
    font-size: 14px;
    width: 20%;
    position: relative;
    left: 40%;
    right: 40%;
    font-weight: bold;
  }
  @keyframes zoomIn {
    from {
      transform: scale(0);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }
  @keyframes zoomOut {
    from {
      transform: scale(1);
      opacity: 1;
    }
    to {
      transform: scale(0);
      opacity: 0;
    }
  }
}
.swiper-button-next, .swiper-button-prev {
  color: white !important;
}

.user-detail li:first-child {
  display: flex; /* フレックスボックスを使用 */
  justify-content: center; /* 水平方向の中央寄せ */
  align-items: center; /* 垂直方向の中央寄せ */
  height: 100%; /* 親要素の高さを指定する（必要に応じて） */
}
.user-detail .user-img {
  width: 200px;
  height: 200px;
  position: relative;
}
.user-detail .user-img::before {
  content: ""; /* 疑似要素にはcontentプロパティが必須 */
  position: absolute; /* コンテナ内で絶対位置指定 */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.267); /* 白い半透明のフィルター */
  z-index: 1; /* 画像の上に表示 */
  border-radius: 100px;
  width: 200px;
  height: 200px;
}
.user-detail .user-img img {
  width: 100%; /* 幅を親要素に合わせて100%に設定 */
  height: 100%; /* 高さを親要素に合わせて100%に設定 */
  border-radius: 50%; /* 画像を円形にする */
  -o-object-fit: cover;
     object-fit: cover; /* 画像の比率を保ちつつ、親要素のサイズに合わせて調整 */
  position: relative; /* positionをabsoluteからrelativeに変更 */
}
.user-detail dl {
  padding-left: 40px;
  padding-top: 15px;
}
.user-detail dl dt {
  color: rgb(47, 47, 47);
  font-size: 14px;
  line-height: 21px;
  padding-bottom: 5px;
  font-weight: bold;
}
.user-detail dl dd {
  color: rgb(47, 47, 47);
  font-size: 16px;
  font-weight: bold;
}
.user-detail dl:last-child {
  padding-top: 10px;
}
.user-detail dl:last-child dd {
  color: rgb(47, 47, 47);
  font-size: 18px;
  font-weight: bold;
}
.user-detail .cta-big, .user-detail .cta-chat {
  margin-top: 35px;
  margin-bottom: 35px;
}
.user-detail .cta-big a, .user-detail .cta-chat a {
  width: 340px;
  height: 80px;
  border-radius: 40px;
  background-color: #050505;
  display: block;
  text-align: center;
  color: #FFFFFF;
  line-height: 80px;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 2px;
  box-shadow: 5px 5px 14px rgba(33, 49, 78, 0.2862745098);
}

.cta-chat {
  margin-top: 35px;
  margin-bottom: 35px;
}
.cta-chat button {
  width: 340px;
  height: 80px;
  border-radius: 40px;
  border: unset;
  background-color: #050505;
  display: block;
  text-align: center;
  color: #FFFFFF;
  line-height: 80px;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 2px;
  box-shadow: 5px 5px 14px rgba(33, 49, 78, 0.2862745098);
}