.kaiwa-page {
  min-height: 100vh;
  padding: 58px 7% 70px;
  background:
    linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.98)),
    url("/png/miraiNihongo.jpg");
  background-size: cover;
  background-position: center;
}

.kaiwa-hero h1 {
  margin: 0;
  font-size: 42px;
  color: #0f1b7a;
  font-weight: 900;
}

.kaiwa-hero p {
  margin: 18px 0 54px;
  color: #64748b;
  font-weight: 600;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 22px;
}

.section-title-row h2 {
  margin: 0;
  color: #0f1b7a;
  font-size: 24px;
  border-left: 5px solid #2563eb;
  padding-left: 12px;
}

.section-title-row a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 800;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 42px;
}

.topic-card {
  min-height: 130px;
  background: rgba(255,255,255,0.96);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 22px 18px;
  text-decoration: none;
  color: #0f274a;
  box-shadow: 0 10px 24px rgba(15,23,42,0.06);
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
}

.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15,23,42,0.1);
}

.topic-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.topic-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #0f1b7a;
}

.topic-card p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}

.topic-card span {
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: #2563eb;
  font-size: 22px;
  font-weight: 900;
}

.kaiwa-list {
  background: rgba(255,255,255,0.96);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15,23,42,0.08);
}

.kaiwa-row {
  display: grid;
  grid-template-columns: 150px 1fr 160px 90px 60px;
  gap: 20px;
  align-items: center;
  padding: 12px 18px;
  text-decoration: none;
  color: #0f274a;
  border-bottom: 1px solid #e5e7eb;
}

.kaiwa-row:last-child {
  border-bottom: none;
}

.kaiwa-row:hover {
  background: #f8fafc;
}

.kaiwa-row img {
  width: 150px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
  background: #e5e7eb;
}

.kaiwa-info h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: #0f274a;
}

.kaiwa-info p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
}

.topic-badge {
  background: #dbeafe;
  color: #2563eb;
  padding: 7px 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
}

.duration,
.level-text {
  color: #64748b;
  font-weight: 700;
}

.more-area {
  text-align: center;
  margin-top: 28px;
}

.more-btn {
  display: inline-block;
  padding: 13px 34px;
  border: 1px solid #2563eb;
  border-radius: 8px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 800;
  background: white;
}

.active-menu {
  color: #0f1b7a !important;
}

@media (max-width: 1100px) {
  .topic-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .kaiwa-row {
    grid-template-columns: 130px 1fr;
  }

  .topic-badge,
  .duration,
  .level-text {
    display: none;
  }
}

@media (max-width: 700px) {
  .topic-grid {
    grid-template-columns: 1fr;
  }
}