@charset "utf-8";

/*
==============
news.css
==============
*/

/* -----------------
■ mouse-follower
------------------- */
.mouse-follower {
  display: none;
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1000;
}


@media screen and (max-width: 767px)
{
  .mouse-follower {
    display: none!important;
    width: calc(17 / var(--customW));
  }

} /* media end */



/* -----------------
■ contents
------------------- */
.contents {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100svh - 58px);
  cursor: none;
}

body.is-open .contents {
  cursor: auto;
}


@media screen and (max-width: 767px)
{
  .contents {
    flex-direction: column;
    height: calc(100svh - calc(58 / var(--customW)));
  }

} /* media end */




/* -----------------
■ news
------------------- */
.news {
  overflow-y: scroll;
  width: 100%;
  max-width: 580px;
  height: 72px;
  color: #fa0500;
}

.news.js-off {
  cursor: pointer;
}

.news__item {
  opacity: 0;
  transition: opacity .2s;
}

body.is-ready .news__item:nth-of-type(2) {
  transition-delay: .05s;
}

body.is-ready .news__item:nth-of-type(3) {
  transition-delay: .10s;
}

body.is-ready .news__item:nth-of-type(4) {
  transition-delay: .15s;
}

body.is-ready .news__item:nth-of-type(5) {
  transition-delay: .20s;
}

body.is-ready .news__item:nth-of-type(6) {
  transition-delay: .25s;
}

body.is-ready .news__item {
  opacity: 1;
}

.news__item:nth-of-type(n+2) {
  border-top: 1px solid #fa0500;
}

.news__item-head {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.news__item-title {
  font-size: 1.2rem;
  line-height: 2;
  letter-spacing: 0;
}

.news__item-date {
  font-size: 0.9rem;
  line-height: 2.7;
  letter-spacing: 0.05em;
  text-align: right;
}

.news__item-body {
  display: none;
}

.news__item-text {
  font-size: 1.2rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.news__item-img {
  margin-top: 8px;
  padding-bottom: 5px;
}


/* open */
.news.is-open {
  overflow: unset;
  height: auto;
}


@media screen and (max-width: 767px)
{
  .news {
    max-width: calc(360 / var(--customW));
    height: calc(110 / var(--customW));
    margin: 0 auto;
  }

  .news__item-head {
    align-items: flex-end;
    gap: 0 calc(20 / var(--customW));
  }

  .news__item-title {
    font-size: calc(12 / var(--customW));
    line-height: 1.5;
    letter-spacing: 0.06em;
  }

  .news__item-date {
    flex-shrink: 0;
    font-size: calc(9 / var(--customW));
    line-height: 1.5;
  }

  .news__item-text {
    font-size: calc(12 / var(--customW));
  }

  .news__item-img {
    margin-top: calc(8 / var(--customW));
    padding-bottom: calc(5 / var(--customW));
  }

  .news__item-img img {
    width: auto;
    height: calc(170 / var(--customW));
  }

  /* open */
  .news.is-open {
    height: auto;
  }


} /* media end */




/* -----------------
■ scroll-icon
------------------- */
@media screen and (max-width: 767px)
{
  .scroll-icon {
    margin-top: calc(30 / var(--customW));
    animation: fadeInOut 1.9s cubic-bezier(0.33, 1, 0.68, 1) forwards;
  }

  @keyframes fadeInOut
  {
    0% { opacity: 0; }
    25% { opacity: 1; }
    50% { opacity: 0; }
    75% { opacity: 1; }
    100% { opacity: 0; }
  }

} /* media end */

