/* --------------------------------------
お知らせ
-------------------------------------- */
.news-list .flex-container {
display: flex;
flex-direction: column;
}
.year-list {
    display: flex;
    flex-direction: row;
    margin-bottom: 1em;
}
.year-list label{
    width: 80px;
    white-space: nowrap;
}
.en .year-list label {
    width: 150px;
}
.year-events {
    display: block;
}

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

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

    padding: 10px 0px 10px 20px;
}
.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 {
    position: absolute;
    top: 10%;
    height: 90%;
    width: 90%;
    overflow-y: auto;
    left:0;
    right:0;
    margin: auto;
  }
  .modal-container .img {
      background: #f1f1f1;
      margin-bottom: 15px;
  }
  .modal-container p {
    font-size: 110%;
      margin: 2vw 3vw 5vw 2vw;
  }
  .modal-container p:last-child {
      margin-bottom: 0;
  }
  .modal-container a{
    text-decoration:underline;
  }
  .modal-content {
      background: #FFF;
      overflow-y: auto;
      padding: 20px 25px;
      /* margin-top: 10vw; */
      width: 90%;
      height: 70%;
      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: fixed;
      right: 5px;
      top: 1.5vw;
  }
  .modal-close {
      color: #e60000;
      text-decoration: none;
      font-size: 2rem;
      line-height: 1em;
      margin-right: 1.5vw;
      position: absolute;
      top: 0;
      right: 0;
  }
  /* .modal-container{
    display: flex;
    flex-wrap: wrap;
  } */
  .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 0;
    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;
    padding: 0 15vw;
}
.news-goal h3 {
    color: yellow;
    padding: 0 15vw;
}
.goal-description {
    margin: 0 auto 3rem;
    height: 100mm;
}
.goal-description p{
    color: yellow;
    font-weight: bold;
    font-size: xx-large;
    line-height: 250%;
}
.new-goal-detail {
    margin: 10px 15vw 0 10px;
}

@media (max-width: 1200px) {
    .goal-description p{
	font-size: x-large;
	line-height: 200%;
    }
}
@media (max-width: 768px){
    .goal-description p{
	font-size: large;
	line-height: 200%;
    }
}

/* Stream text */
#stream-text {
    margin: 0 auto;
    font-weight: bold;
    text-align: center;
    overflow: hidden;
    transform-origin: 50% 100%;
    transform: perspective(500px) 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;
}
.en #stream-text-content p{
    padding-bottom: 1em;
}
@keyframes scroll {
    0% { top: 100%; }
    100% { top: -200%; }
}


/* SNS */
.news-sns .flex-container {
    justify-content: center;
    text-align: center;
    column-gap: 5%;
    width: 100%;
}

.en .news-sns .flex-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    margin-left: 5vw;
}
/* .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;
    justify-content: center;
}
.sns-container p{
    font-size: 115%;
    padding-left: 5px;
}
#facebook img{
    width: 4vw;
    padding-right: 7px;
}
#x img{
    width: 4.5vw;
    border-radius: 0px;
}
#instagram img{
    width: 3.8vw;
    padding-right: 7px;
    border-radius: 0px;
}
#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: 1200px) {
    .year-list {
        width: 50%;
    }

    .date-cell, .event-cell {
        font-size: 100%;
    }
    .en .detail-cell {
        font-size: 90%;
    }
    #facebook, #instagram {
        padding-left: 6.3px;
    }
}
@media (max-width: 768px){

    .date-cell, .event-cell {
        font-size: 90%;
    }
    .detail-cell {
        font-size: 80%;
    }
    .ja .news-sns .flex-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        /* margin-left: 20px; */
        font-size: 90%;
    }
    #facebook, #instagram {
        padding-left: 6.5px;
    }

    #facebook img{
        width: 5vw;
        padding-right: 7px;
    }
    #instagram img{
        width: 5vw;
        padding-right: 7px;
    }
}
