.course-detail-page {
  padding: 48px 7% 70px;
  min-height: 100vh;
  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;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 28px;
}

.breadcrumb a {
  text-decoration: none;
  color: #64748b;
}

.breadcrumb b {
  color: #2563eb;
}

.course-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.course-hero h1 {
  font-size: 44px;
  color: #0f1b7a;
  margin: 0 0 18px;
}

.course-hero h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  background: #2563eb;
  border-radius: 999px;
  margin-top: 16px;
}

.course-hero p {
  color: #64748b;
  font-weight: 600;
  line-height: 1.8;
  max-width: 620px;
}

.course-hero-image img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}

.course-badges {
  display: flex;
  gap: 50px;
  margin: 34px 0 24px;
  color: #0f1b7a;
  font-weight: 800;
}

.course-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 24px;
}

.course-info-card,
.register-card,
.course-content-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 12px 28px rgba(15,23,42,0.08);
}

.course-info-card h2,
.register-card h2,
.course-content-card h2 {
  color: #0f1b7a;
  margin: 0 0 24px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #e5e7eb;
}

.info-item span {
  width: 44px;
  height: 44px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item p {
  margin: 0 0 6px;
  color: #64748b;
  font-weight: 600;
}

.info-item b {
  color: #0f274a;
}

.note-box {
  margin-top: 20px;
  padding: 16px;
  background: #eff6ff;
  border-radius: 8px;
  color: #0f1b7a;
  font-weight: 700;
}

.deadline-box {
  background: #eff6ff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 18px;
}

.deadline-box p {
  margin: 0 0 8px;
  color: #64748b;
}

.deadline-box b {
  color: #2563eb;
  font-size: 24px;
}

.btn-register,
.btn-consult {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  margin-bottom: 12px;
}

.btn-register {
  background: #2563eb;
  color: white;
}

.btn-consult {
  border: 1px solid #2563eb;
  color: #2563eb;
  background: white;
}

.quality-box {
  margin-top: 18px;
  background: #f8fafc;
  border-radius: 10px;
  padding: 18px;
}

.quality-box p {
  color: #2563eb;
  font-weight: 900;
}

.quality-box li {
  margin: 10px 0;
  color: #475569;
}

.course-content-card {
  margin-top: 24px;
}

.course-content-card div {
  color: #334155;
  line-height: 1.8;
}
.deadline-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.deadline-icon {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  font-size: 34px;
}

.deadline-icon span {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 30px;
  height: 30px;
  background: #3b82f6;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.btn-register,
.btn-consult {
  position: relative;
}

.btn-register i,
.btn-consult i {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-register i {
  color: white;
}

.btn-consult i {
  color: #2563eb;
}
.qr-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}

.qr-modal.active {
  display: flex;
}

.qr-box {
  position: relative;
  width: 420px;
  max-width: calc(100% - 32px);
  background: white;
  border-radius: 18px;
  padding: 34px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.qr-box h2 {
  margin: 0 0 12px;
  color: #0f1b7a;
  font-size: 30px;
}

.qr-box p {
  color: #64748b;
  font-weight: 700;
  line-height: 1.7;
}

.qr-box img {
  width: 240px;
  max-width: 100%;
  margin: 20px auto;
  display: block;
  border-radius: 12px;
  border: 1px solid #dbeafe;
}

.qr-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: none;
  background: transparent;
  font-size: 34px;
  cursor: pointer;
  color: #0f172a;
}

.qr-facebook-link {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #2563eb;
  color: white;
  text-decoration: none;
  font-weight: 900;
}