/* ==========================================================================
   Services Page – Lecture Cards
   ========================================================================== */

/* Section wrapper */
.lecture-section {
  padding: 60px 16px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Card (透明白底效果) */
.lecture-section__card {
  background: rgba(245, 248, 250, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.lecture-section .section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

.lecture-section .section-divider {
  position: relative;
  width: 100%;
  height: 6px;
  margin: 0 auto 40px;
}

.lecture-section .section-divider::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #2D6A4F;
}

.lecture-section .section-divider::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 72px;
  height: 4px;
  background: #F08205;
}

/* Cards layout */
.lecture-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* Individual card */
.lecture-card {
  background: rgba(245, 248, 250, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.lecture-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Card image */
.lecture-card__image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  flex-shrink: 0;
}

.lecture-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card content */
.lecture-card__content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lecture-card__title {
  font-size: 32px;
  font-weight: 700;
  color: #2D6A4F;
  line-height: 100%;
  margin-bottom: 16px;
}

/* Field info */
.lecture-card__field {
  margin-bottom: 16px;
}

.lecture-card__field p {
  font-size: 20px;
  font-weight: 400;
  color: #555;
  line-height: 28px;
  margin-bottom: 4px;
  vertical-align: middle;
}

.lecture-card__field strong {
  color: #222;
  font-weight: 600;
}

/* Price */
.lecture-card__price {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
  padding: 12px 0;
  border-top: 1px dashed #ddd;
  border-bottom: 1px dashed #ddd;
}

.lecture-card__price-label {
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  vertical-align: middle;
}

.lecture-card__price-value {
  font-size: 32px;
  font-weight: 700;
  color: #0077B6;
  line-height: 40px;
}

/* Flow */
.lecture-card__flow {
  margin-bottom: 20px;
}

.lecture-card__flow h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

.lecture-card__flow ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lecture-card__flow ul li {
  font-size: 20px;
  font-weight: 400;
  color: #555;
  line-height: 28px;
  padding-left: 16px;
  position: relative;
}

.lecture-card__flow ul li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #7e9f9f;
  font-weight: 700;
}

/* Notes */
.lecture-card__notes {
  margin-bottom: 20px;
}

.lecture-card__note {
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  color: #FF0004;
  margin-bottom: 6px;
}

.lecture-card__note--highlight {
  color: #0077B6;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
}

/* CTA Button */
.lecture-card__cta {
  text-align: right;
  padding-top: 12px;
  margin-top: auto;
}

.lecture-card__btn {
  display: inline-block;
  padding: 10px 0;
  background: transparent;
  color: #0077B6;
  border: none;
  border-radius: 0;
  font-size: 16px;
  font-weight: 700;
  font-style: normal;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: right;
  text-decoration: none;
  transition: color .25s ease;
}

.lecture-card__btn:hover {
  color: #005f8f;
  text-decoration: underline;
}

/* ==========================================================================
   Cases Section – 服務案例
   ========================================================================== */

.cases-section {
  padding: 0 16px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.cases-section__card {
  background: rgba(245, 248, 250, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.cases-section .section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

.cases-section .section-divider {
  position: relative;
  width: 100%;
  height: 6px;
  margin: 0 auto 40px;
}

.cases-section .section-divider::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #2D6A4F;
}

.cases-section .section-divider::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 72px;
  height: 4px;
  background: #F08205;
}

/* More link */
.cases-section__more {
  text-align: left;
  font-size: 20px;
  font-weight: 400;
  color: #333;
  line-height: 1.8;
  margin-top: 40px;
}

.cases-section__more-link {
  color: #0077B6;
  font-weight: 700;
  text-decoration: none;
}

.cases-section__more-link:hover {
  text-decoration: underline;
}

/* Case item */
.case-item {
  padding-bottom: 10px;
  border-bottom: 2px solid #000;
  margin-bottom: 40px;
}

.case-item:last-child {
  margin-bottom: 0;
}

.case-item__title {
  font-size: 20px;
  font-weight: 700;
  font-style: normal;
  line-height: 30px;
  letter-spacing: 0;
  color: #0077B6;
  margin-bottom: 16px;
}

/* Photo layout: 1 large left + 2×2 right */
.case-item__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: stretch;
}

.case-item__main {
  display: flex;
}

.case-item__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.case-item__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.case-item__grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

@media (max-width: 768px) {
  .cases-section {
    padding: 0 16px 40px;
  }

  .cases-section__card {
    padding: 28px 20px;
  }

  .cases-section .section-title {
    font-size: 1.5rem;
  }

  .case-item__gallery {
    grid-template-columns: 1fr;
  }

  .case-item__main {
    grid-row: auto;
  }

  .case-item__main img {
    aspect-ratio: 4 / 3;
    height: auto;
  }
}

/* ==========================================================================
   Booking Section – 預約講座方式
   ========================================================================== */

.booking-section {
  padding: 0 16px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.booking-section__card {
  background: rgba(245, 248, 250, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.booking-section .section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

.booking-section .section-divider {
  position: relative;
  width: 100%;
  height: 6px;
  margin: 0 auto 40px;
}

.booking-section .section-divider::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #2D6A4F;
}

.booking-section .section-divider::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 72px;
  height: 4px;
  background: #F08205;
}

.booking-section__text {
  font-size: 20px;
  font-weight: 400;
  color: #333;
  line-height: 1.8;
}

.booking-section__link {
  color: #0077B6;
  font-weight: 700;
  text-decoration: none;
}

.booking-section__link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   RWD
   ========================================================================== */

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

  .lecture-section {
    padding: 40px 16px;
  }

  .lecture-card__image {
    height: 200px;
  }

  .lecture-card__content {
    padding: 20px;
  }

  .lecture-card__title {
    font-size: 1.25rem;
  }

  .lecture-card__price-value {
    font-size: 1.5rem;
  }

  .booking-section {
    padding: 0 16px 48px;
  }

  .booking-section__card {
    padding: 28px 20px;
  }

  .booking-section .section-title {
    font-size: 1.5rem;
  }

  .booking-section__text {
    font-size: 16px;
  }
}
