/* ============================================================
   note.css — noteからのお知らせ カード一覧
   ============================================================ */

#note-news-container {
  padding: 96px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

#note-news-container .news-header {
  text-align: center;
  margin-bottom: 48px;
}

#note-news-container .news-header h2 {
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: 0.02em;
}

#note-news-container .news-columns {
  display: flex;
  gap: 120px;
  align-items: flex-start;
}

#note-news-container .news-half {
  flex: 1 1 50%;
  min-width: 0;
}

#note-news-container .news-half-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

#note-news-container .news-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

#note-news-container .news-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1em;
  border-radius: 1px;
}

#note-news-container .news-title--event {
  color: var(--blue);
}

#note-news-container .news-title--event::before {
  background: var(--blue);
}

#note-news-container .news-title--note {
  color: #f0954a;
}

#note-news-container .news-title--note::before {
  background: #f0954a;
}

#note-news-container .news-more-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

#note-news-container .news-more-link:hover {
  transform: translateY(-2px);
}

#note-news-container .news-more-link--event {
  background: #e3ecfc;
  color: var(--blue);
}

#note-news-container .news-more-link--note {
  background: #fdece0;
  color: #f0954a;
}

#note-news-container .note-loading {
  text-align: center;
  color: var(--text-sub);
}

#note-news-container .list {
  margin-left: -10px;
  margin-right: -10px;
  display: flex;
  flex-wrap: wrap;
}

#note-news-container .col {
  flex: 0 0 50%;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 20px;
}

#note-news-container .card {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(20, 35, 70, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#note-news-container .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(20, 35, 70, 0.12);
}

#note-news-container .coming-soon-card {
  border: 1px dashed var(--text-sub);
  background: var(--white);
  box-shadow: none;
}

#note-news-container .coming-soon-card:hover {
  transform: none;
  box-shadow: none;
}

#note-news-container .card-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

#note-news-container .card-thumbnail {
  padding-top: 52.34375%;
  position: relative;
  overflow: hidden;
  background: var(--sky-bg);
}

#note-news-container .card-thumbnail img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#note-news-container .card-contents {
  padding: 20px;
  padding-bottom: 60px;
  position: relative;
  flex: 1 1 auto;
}

#note-news-container .card-title {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#note-news-container .coming-soon-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}


#note-news-container .coming-soon-title {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
}

#note-news-container .coming-soon-description {
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.5;
  color: var(--text-sub);
  display: flex;
  justify-content: center;
  align-items: center;
}

#note-news-container .card-description {
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.5;
  color: var(--text-sub);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#note-news-container .card-footer {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
}

#note-news-container .card-date {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: #9a9a9a;
  font-weight: 700;
  position: relative;
  padding-left: 24px;
}

#note-news-container .card-date::before {
  content: "";
  width: 16px;
  height: 16px;
  position: absolute;
  top: 1px;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9a9a' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3C/svg%3E");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 880px) {
  #note-news-container {
    padding: 64px 20px;
  }
  #note-news-container .news-columns {
    flex-direction: column;
    gap: 48px;
  }
  #note-news-container .col {
    flex: 0 0 100%;
  }
  #note-news-container .news-half-header {
    justify-content: space-between;
  }
}
