* {
  box-sizing: border-box;
}

/* Page Content */
.topic-page {
  width: 100%;
  background: #FAFAFA;
  padding: 60px 0;
}

.topic-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 100px;
}

/* Cards Grid */
.topic-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: stretch;
}

/* Topic Card */
.topic-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

/* Card Header */
.topic-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topic-card-title-line {
  width: 10px;
  min-height: 40px;
  background: #fe4ba0;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 4px;
}

.topic-card-title {
  font-size: 28px;
  font-weight: 700;
  color: #000000;
  margin: 0;
  line-height: 1.5;
  font-family: "Noto Sans JP", sans-serif;
}

.topic-page-title{
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  color: #FE4BA0;
  margin: 0;
  line-height: 1.5;
  font-family: "Noto Sans JP", sans-serif;
  margin-bottom: 30px;
}

/* Card Content */
.topic-card-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Topic Entry */
.topic-entry {
  background: #ffe5f0;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.topic-entry-date {
  font-size: 14px;
  font-weight: 400;
  color: #636363;
  font-family: "Noto Sans JP", sans-serif;
}

.topic-entry-title {
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  line-height: 1.6;
  font-family: "Noto Sans JP", sans-serif;
}

/* Card Footer */
.topic-card-footer {
  margin-top: auto;
  padding-top: 8px;
  text-align: right;
}

.topic-card-more-link {
  font-size: 24px;
  font-weight: 700;
  color: #fe4ba0;
  text-decoration: none;
  font-family: "Noto Sans JP", sans-serif;
  transition: color 0.3s ease;
  text-decoration: underline;
}

.topic-card-more-link:hover {
  color: #fa309b;
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .topic-page-container {
    padding: 0 60px;
  }
}

@media (max-width: 1024px) {
  .topic-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .topic-page {
    padding: 40px 0;
  }

  .topic-page-container {
    padding: 0 30px;
  }

  .topic-card {
    padding: 24px;
    gap: 20px;
  }

  .topic-card-title {
    font-size: 24px;
  }

  .topic-card-title-line {
    min-height: 32px;
  }

  .topic-entry {
    padding: 14px 18px;
  }

  .topic-entry-title {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .topic-page-container {
    padding: 0 20px;
  }

  .topic-card {
    padding: 20px;
    gap: 16px;
  }

  .topic-card-title {
    font-size: 20px;
  }

  .topic-card-title-line {
    width: 8px;
    min-height: 28px;
  }

  .topic-entry {
    padding: 12px 16px;
    gap: 6px;
  }

  .topic-entry-date {
    font-size: 13px;
  }

  .topic-entry-title {
    font-size: 14px;
  }

  .topic-card-more-link {
    font-size: 16px;
  }
}

