/* --------------------------------------
お知らせ
-------------------------------------- */
.year-list {
    width: 15vw;
}
.year-events {
    width: 85vw;
    display: block;
}

/* 年の切り替え */
#year-selector {
    width: 100%;
    height: 2em;
    padding: 0 1em;
}
#year2024 {
    display: block;
}
#year2023 {
    display: block;
}

/* 各列のレイアウト */
.date-cell {
    display: table-cell;
    font-size: 110%;
    font-weight: bold;
    padding: 10px 0px;
    margin-right: 2vw;
    width: 10vw;
    border: none;
    align-items: center;
    justify-content: center;
    text-align: start;
}
.event-cell {
    display: table-cell;
    font-size: 110%;
    font-weight: bold;
    padding: 5px 0px;
    width: 40vw;
    border: none;
    align-items: center;
    justify-content: center;
    text-align: start;
}
.detail-cell {
    display: table-cell;
    font-weight: bold;
    padding: 5px 0px;
    width: 15vw;
    border: none;
    align-items: center;
    justify-content: center;
    text-align: start;
    cursor: pointer; /*hover時の表示変更*/
}
.detail-cell:hover{
    color: #86B9C7;
}

/* モーダル */
.modal {
    display: none;
    position: fixed;
    z-index: 8887;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    transition: all 1s ease-in-out;
  }
  .modal-container .img {
      background: #f1f1f1;
      margin-bottom: 15px;
  }
  .modal-container p {
    font-size: 110%;
      margin: 2vw;
  }
  .modal-container p:last-child {
      margin-bottom: 0;
  }
  .modal-content {
      background: #FFF;
      overflow-y: auto;
      padding: 20px 25px;
      width: 90%;
      max-width: 700px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      max-height: 500px;
      animation: show 0.6s linear 0s;
      filter: drop-shadow(0px 2px 6px #777);
  }
  .modal-top {
      display: inline-block;
      position: absolute;
      right: 5px;
      top: 1.5vw;
  }
  .modal-close {
      color: #e60000;
      text-decoration: none;
      font-size: 2rem;
      line-height: 1em;
      margin-right: 1.5vw;
  }
  .modal-close:hover, .modal-close:focus {
    text-decoration: none;
    cursor: pointer;
  }
  .modal-title {
    color: #FFF;
  }
  @keyframes show{
      from{
          opacity: 0;
      }
      to{
          opacity: 1;
      }
  }

/* ---------------------------------------
ゴールについて 
----------------------------------------*/
.news-goal .section-container {
    padding: 10em 15vw;
    background-image: url(/img/memories/memory-2023/day0-star.webp);
    background-size: cover;
}
.news-goal .flex-container {
    text-align: center;
}
.news-goal h2 {
    color: #DDF0F5;
}
.news-goal h3 {
    color: yellow;
}
.goal-description {
    margin: 0 auto 3rem;
    height: 100mm;
}
.goal-description p{
    color: yellow;
    font-weight: bold;
    font-size: x-large;
    line-height: 300%;
}
/* Stream text */
#stream-text{
    margin: 0 auto;
    font-weight: bold;
    text-align: center;
    overflow: hidden;
    transform-origin: 50% 100%;
    transform: perspective(300px) rotateX(32deg);
}
#stream-text::after {
    content: '';
    left: 0;
    right: 0;
    top: 0;
    bottom: 40%;
    pointer-events: none;
}
#stream-text-content {
    top: 100%;
    position: relative;
    animation: scroll 50s linear 0s infinite;
}
@keyframes scroll {
    0% { top: 100%; }
    100% { top: -200%; }
}


/* SNS */
.news-sns .flex-container {
    justify-content: center;
    align-items: center;
    text-align: center;
    column-gap: 5%;
}
/* .news-sns .sns {
    text-align: center;
}
.news-sns a {
    display: inline-block;
    width: 200px;
    font-size: 24px;
    font-weight: bold;
    line-height: 80px;
    text-align: center;
    color:#000;
    border-radius: 16px;
} */
/* .news-sns .sns-facebook{
    background-color: rgba(24, 119, 242, 0.85);
    box-shadow: rgba(24, 119, 242, 0.85);
    margin-top: 2px;
}
.news-sns .sns-x{
    border-color: rgba(2, 9, 14, 0.85);
}
.news-sns .sns-instagram{
    border-color: rgba(207, 46, 146, 0.85);
    margin-top: 2px;
} */
.sns-container {
    display: flex;
    align-items: center;
    text-align: center;
}
.sns-container p{
    font-size: 115%;
    padding-left: 5px;
}
#facebook img{
    width: 4vw;
    padding-right: 7px;
}
#x img{
    width: 4.5vw;
}
#instagram img{
    width: 3.8vw;
    padding-right: 7px;
}
#facebook p{
    text-decoration-color: rgba(24, 119, 242, 0.85);
}
#x p {
    text-decoration-color: rgba(2, 9, 14, 0.85);
}
#instagram p {
    text-decoration-color: rgba(207, 46, 146, 0.85);
}



@media (max-width: 768px) {
    .news-sns .flex-container {
        align-items: center;
        row-gap: 10px;
    }

    /* .cell {
        display: table-cell;
        font-weight: bold;
        letter-spacing: 0.1em;
        padding: 5px 10px;
        border: none;
        align-items: center;
        justify-content: center;
        text-align: left;
    } */

    .date-cell {
        display: table-cell;
        font-size: 100%;
        font-weight: bold;
        padding: 10px 0px;
        margin-right: 2vw;
        width: 20vw;
        border: none;
        align-items: center;
        justify-content: center;
        text-align: start;
    }
    .event-cell {
        display: table-cell;
        font-size: 90%;
        font-weight: bold;
        padding: 5px 0px;
        width: 40vw;
        border: none;
        align-items: center;
        justify-content: center;
        text-align: start;
    }
    .detail-cell {
        display: table-cell;
        font-weight: bold;
        padding: 5px 0px;
        width: 15vw;
        border: none;
        align-items: center;
        justify-content: center;
        text-align: start;
        cursor: pointer; /*hover時の表示変更*/
    }
}
