@charset "utf-8";
/* ==================================================== */

/*  ローディング画面
/* ==================================================== */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #fff;
  transition: opacity 1.8s ease;
}
#loading.fade-out {
  pointer-events: none;
  opacity: 0;
}
#loading .loading-text {
  width: 29.23491615vw;
  max-width: 399.348955px;
  animation: loadingTextFadeIn 2.5s ease 0.4s forwards;
  opacity: 0;
}
@keyframes loadingTextFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media screen and (max-width: 767px) {
  #loading .loading-text {
    width: 45vw;
  }
}
.main.home {
  height: 100vh;
}
/* ==================================================== */
/*  トップページ通知バナー
/* ==================================================== */
.main.home .p-home-notice {
  position: fixed;
  top: 35px;
  right: 40px;
  z-index: 20;
  display: flex;
  align-items: center;
  width: 349.424px;
  padding: 15px 20px 15px 19px;
  border-radius: 18.648px;
  background-color: rgb(29 29 29 / 90%);
  cursor: pointer;

  gap: 14px;
}
.main.home .p-home-notice:hover {
  opacity: 0.9;
}
.main.home .p-home-notice__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38.6053px;

  aspect-ratio: 1 / 1;
}
.main.home .p-home-notice__body {
  flex: 1;
  min-width: 0;
}
.main.home .p-home-notice__label {
  margin-bottom: 4px;
  font-size: 1rem;
  color: #7a7a7a;
}
.main.home .p-home-notice__title {
  overflow: hidden;
  margin-bottom: 7px;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #fff;
}
.main.home .p-home-notice__date {
  font-size: 1.2rem;
  color: #fff;
}
.main.home .p-home-notice__close {
  position: absolute;
  top: -9px;
  right: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border: none;
  border-radius: 50%;
  background-color: #ff4d00;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
  color: #000;
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  .main.home .p-home-notice {
    top: 17px;
    right: 14px;
    width: 91.944187vw;
    max-width: 344.7907px;
    padding: 12px;
    border-radius: 9.324px;

    gap: 13px;
  }
  .main.home .p-home-notice__icon {
    width: 46.2606px;
  }
  .main.home .p-home-notice__label {
    font-size: 6px;
  }
  .main.home .p-home-notice__title {
    margin-bottom: 4px;
    font-size: 0.8rem;
  }
  .main.home .p-home-notice__date {
    font-size: 0.75rem;
  }
  .main.home .p-home-notice__close {
    width: 26px;
    height: 26px;
  }
}
/* ==================================================== */
/*  投稿記事エリア
/* ==================================================== */
#drag-container {
  position: relative;
  overflow: clip;
  width: 100%;
  height: 100vh;
  user-select: none;
}
.card-list-wrap {
  display: flex;
}
.card-list-wrap ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.card-list-wrap li {
  position: absolute;
  width: 23.761755vw;
  min-width: 379px;
  height: 379.5088px;
  padding: 18px 0 0 1.849812vw;
  border: solid 1px #000;
  background: #fff;
  line-height: 1.3;
  cursor: grab;
}
.card-list-wrap li .number {
  font-size: 3rem;
  font-weight: 700;
}
.card-list-wrap li .cate-txt {
  padding-bottom: 8px;
  font-size: 2rem;
  font-weight: 700;
  color: #948c87;
}
.card-list-wrap li h2 {
  display: inline-block;
  font-size: 2.6rem;
  line-height: 1.44;
  letter-spacing: -1.2px;
}
.card-list-wrap li time {
  position: absolute;
  bottom: 20px;
  display: block;
  margin-top: auto;
  font-size: 1.4rem;
  font-weight: bold;
  color: #948c87;
}
.card-list-wrap li:active {
  cursor: grabbing;
}
.card-list-wrap li .card-link {
  position: absolute;
  right: -1px;
  bottom: -1px;
  z-index: 6;
  display: inline-block;
  width: 46.8705px;
  cursor: pointer;
}
.card-list-wrap li:hover .card-link {
  background-color: #ff4d00;
  opacity: 1;
}
.card-list-wrap li .card-link::after {
  position: absolute;
  right: 0;
  bottom: 100%;
  padding: 4px 8px;
  font-size: 1.2rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  content: "Click!";
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(6px);
  opacity: 0;
}
.card-list-wrap li:hover .card-link::after {
  transform: translateY(0);
  opacity: 1;
}
.card-list-wrap li.is-wobbling {
  transform-origin: center bottom;
  animation: card-idle-wobble 0.6s ease-in-out;
}
@keyframes card-idle-wobble {
  0% {
    transform: rotate(0deg);
  }
  12% {
    transform: rotate(-0.45deg);
  }
  24% {
    transform: rotate(0.35deg);
  }
  36% {
    transform: rotate(-0.28deg);
  }
  48% {
    transform: rotate(0.2deg);
  }
  60% {
    transform: rotate(-0.14deg);
  }
  72% {
    transform: rotate(0.08deg);
  }
  84% {
    transform: rotate(-0.04deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
@media (max-width: 767px) {
  .main.home {
    /* height: 667px; */
    height: 100%;
    max-height: 100vh;
  }
  #drag-container {
    height: 100%;
    /* height: 667px; */
    max-height: 100vh;
  }
  .card-list-wrap li {
    width: auto;
    min-width: auto;
    height: 50.4vw;

    aspect-ratio: 1 / 1;
  }
  .card-list-wrap li .number {
    font-size: 4vw;
  }
  .card-list-wrap li .cate-txt {
    font-size: 2.133333vw;
  }
  .card-list-wrap li h2 {
    font-size: 3.46667vw;
  }
  .card-list-wrap li .card-link {
    width: 24px;
  }
}
