@charset "UTF-8";
.mid-text {
  text-align: center;
  margin-bottom: 60px;
}
@media (max-width: 600px) {
  .mid-text {
    text-align: left;
  }
}

.posts .list {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.posts .list .box {
  width: calc(100% / 3 - 100px / 3);
  margin-right: 50px;
  padding: 20px 20px 40px 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background-color: #f4f4f4;
  margin-bottom: 50px;
}
.posts .list .box:nth-child(3n) {
  margin-right: 0;
}
@media (max-width: 600px) {
  .posts .list .box {
    width: calc(100% / 1 - 0px / 1);
    margin-right: 0px;
    padding: 10px 10px 10px 30px;
    border-radius: 70px;
    margin-bottom: 30px;
  }
  .posts .list .box:nth-child(1n) {
    margin-right: 0;
  }
}
@media (max-width: 600px) {
  .posts .list .box .modal-backdrop .profile .name::before {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-size: contain;
  }
  .posts .list .box .modal-backdrop .profile:first-child .name::before {
    background-image: url("/wp-content/uploads/2024/09/icon-c01.png");
  }
  .posts .list .box .modal-backdrop .profile:nth-child(2) .name::before {
    background-image: url("/wp-content/uploads/2024/09/icon-c02.png");
  }
  .posts .list .box .modal-backdrop .profile:nth-child(3) .name::before {
    background-image: url("/wp-content/uploads/2024/09/icon-c03.png");
  }
  .posts .list .box .modal-backdrop .profile:nth-child(4) .name::before {
    background-image: url("/wp-content/uploads/2024/09/icon-c04.png");
  }
  .posts .list .box .modal-backdrop .profile:nth-child(5) .name::before {
    background-image: url("/wp-content/uploads/2024/09/icon-c05.png");
  }
}
.posts .list .box .main {
  cursor: pointer;
}
@media (max-width: 600px) {
  .posts .list .box .main.pc {
    display: none;
  }
}
.posts .list .box .main .country {
  font-size: 24px;
  margin-bottom: 20px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.posts .list .box .main .country::before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  background-repeat: no-repeat;
  background-size: contain;
}
@media (max-width: 600px) {
  .posts .list .box .main .country::before {
    width: 25px;
    height: 25px;
  }
}
.posts .list .box .main .image {
  width: 150px;
  height: 150px;
  margin: 0 auto;
}
.posts .list .box .main .image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
}
.posts .list .box .main .name {
  font-size: 20px;
  text-align: center;
}
@media (max-width: 600px) {
  .posts .list .box .main .name {
    font-size: 16px;
    text-align: left;
  }
}
.posts .list .box .main.sp {
  display: none;
}
@media (max-width: 600px) {
  .posts .list .box .main.sp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .posts .list .box .main.sp .image {
    width: 110px;
    height: 110px;
    margin: 0;
  }
  .posts .list .box .main.sp .content {
    width: calc(100% - 130px);
    margin-right: 20px;
  }
}
.posts .list .box .main .circle {
  width: 40px;
  height: 40px;
  border: 1px solid #393a38;
  border-radius: 50%;
  bottom: -20px;
  right: 0px;
  cursor: pointer;
}
.posts .list .box .main .circle::before {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background-color: #393a38;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) rotate(90deg);
          transform: translate(-50%, -50%) rotate(90deg);
}
.posts .list .box .main .circle::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background-color: #393a38;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.posts .list .box .modal {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background-color: white;
  -webkit-box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  width: 80%;
  max-width: 800px;
  padding: 20px;
  z-index: 1000;
  padding: 50px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-radius: 20px;
}
@media (max-width: 600px) {
  .posts .list .box .modal {
    width: 94%;
    overflow-y: scroll;
    height: 70%;
  }
}
.posts .list .box .modal .back-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #393a38;
  border-radius: 50%;
  top: 20px;
  right: 20px;
  cursor: pointer;
}
.posts .list .box .modal .back-btn::before {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background-color: #393a38;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
}
.posts .list .box .modal .back-btn::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background-color: #393a38;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) rotate(135deg);
          transform: translate(-50%, -50%) rotate(135deg);
}
.posts .list .box .modal .profile {
  padding-bottom: 70px;
  border-bottom: 1px solid #e9eae8;
}
.posts .list .box .modal .profile .image {
  width: 150px;
  height: 150px;
  margin-right: 40px;
}
@media (max-width: 600px) {
  .posts .list .box .modal .profile .image {
    margin: 0 auto;
  }
}
.posts .list .box .modal .profile .image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
}
.posts .list .box .modal .profile .content {
  width: calc(100% - 190px);
}
@media (max-width: 600px) {
  .posts .list .box .modal .profile .content {
    width: 100%;
  }
}
.posts .list .box .modal .profile .content .name {
  font-size: 22px;
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .posts .list .box .modal .profile .content .name {
    text-align: center;
  }
  .posts .list .box .modal .profile .content .name::before {
    margin: 20px auto 10px auto;
  }
}
.posts .list .box .modal .list {
  height: 280px;
  overflow-y: scroll;
}
.posts .list .box .modal .list .post {
  width: calc(100% / 3 - 70px / 3);
  margin-right: 35px;
}
.posts .list .box .modal .list .post:nth-child(3n) {
  margin-right: 0;
}
@media (max-width: 600px) {
  .posts .list .box .modal .list .post {
    width: calc(100% / 1 - 0px / 1);
    margin-right: 0px;
    padding: 10px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border: 1px solid #e9eae8;
    border-right: none;
    border-left: none;
  }
  .posts .list .box .modal .list .post:nth-child(1n) {
    margin-right: 0;
  }
  .posts .list .box .modal .list .post a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}
.posts .list .box .modal .list .post .image {
  height: 170px;
  margin-bottom: 15px;
}
@media (max-width: 600px) {
  .posts .list .box .modal .list .post .image {
    width: 30%;
    height: auto;
    margin-bottom: 0px;
  }
}
.posts .list .box .modal .list .post .image img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.posts .list .box .modal .list .post .title {
  height: 110px;
  line-height: 1.375;
  letter-spacing: -0.03em;
}
@media (max-width: 600px) {
  .posts .list .box .modal .list .post .title {
    width: calc(70% - 10px);
    margin-left: 10px;
    height: auto;
  }
}
.posts .list .box:first-child .main .country::before {
  background-image: url("/wp-content/uploads/2024/09/icon-c01.png");
}
.posts .list .box:nth-child(2) .main .country::before {
  background-image: url("/wp-content/uploads/2024/09/icon-c02.png");
}
.posts .list .box:nth-child(3) .main .country::before {
  background-image: url("/wp-content/uploads/2024/09/icon-c03.png");
}
.posts .list .box:nth-child(4) .main .country::before {
  background-image: url("/wp-content/uploads/2024/09/icon-c04.png");
}
.posts .list .box:nth-child(5) .main .country::before {
  background-image: url("/wp-content/uploads/2024/09/icon-c05.png");
}

/* 背景の暗くなる部分 */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 500;
}