/* ==========================================================================
   共通
   ========================================================================== */
.curriculum_inner{
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
  line-height: 1.8;
}

.section-lead {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.8rem;
  font-weight: bold;
}

.section-closing {
  text-align: center;
  margin-top: 80px;
  font-weight: bold;
  font-size: 1.8rem;
}

.curriculum_inner p{
  font-size: 1.6rem;
}

.curriculum_inner h2{
  width: 100%;
  margin-top: 80px;
}

.title-number span {
  color: #e6007e;
  font-weight: bold;
  margin-right: 8px;
}

/* スマホ */
@media (max-width: 768px) {
  .curriculum_inner {
    margin: 40px auto;
    padding: 0 16px;
  }

  .section-lead,
  .section-closing {
    font-size: 1.5rem;
  }

  .curriculum_inner p {
    font-size: 1.4rem;
  }

  .curriculum_inner h2{
    margin-top: 40px;
  }
}

/* ==========================================================================
   グリッド
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* スマホ */
@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   カード（共通）
   ========================================================================== */
.curriculum_inner .card {
  background: #F3FAFF;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: 0.3s;
  margin-top: 2rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.schedule-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 1.4rem;
  color: #555;
}

/* スマホ */
@media (max-width: 768px) {
  .card {
    padding: 20px;
  }
}

/* ==========================================================================
  ヒーロー画像
   ========================================================================== */
.hero-visual-area img{
  width: 100%;
  margin-bottom: 40px;
}

/* スマホ */
@media (max-width: 768px) {
  .hero-visual-area img{
    margin-bottom: 24px;
  }
}

/* ==========================================================================
   タイムライン
   ========================================================================== */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  width: 4px;
  height: 100%;
  background: #A7C7E7;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline-item h3 {
  margin-bottom: 10px;
}

.timeline-item p {
  line-height: 1.9;
  color: #333;
  margin-bottom: 10px;
}

.timeline-item .example {
  color: #555;
  border-left: 3px solid #0077cc;
  padding: 8px 12px;
  background: #f4f9ff;
  border-radius: 4px;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 20px;
  align-items: center;
}

.curriculum-grid .card-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* スマホ */
@media (max-width: 768px) {
  .timeline {
    padding-left: 20px;
  }

  .timeline::before {
    left: 8px;
  }

  .curriculum-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Java
   ========================================================================== */
.bg-orange .card{
  background: #FFF8ED;
}

/* ==========================================================================
   Support
   ========================================================================== */
.support {
  text-align: center;
}

.support .card {
  background: #fff;
  border: 1px solid #eee;
  padding: 30px 20px;
}

.support .card:hover {
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.icon {
  font-size: 40px;
  margin-bottom: 15px;
}

/* スマホ */
@media (max-width: 768px) {
  .icon {
    font-size: 32px;
  }
}

/* ==========================================================================
   schedule
   ========================================================================== */
.schedule-3col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* カード */
.schedule-card {
  border-radius: 20px;
  padding: 25px 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.schedule-3col .schedule-card {
  margin-top: 3rem;
}

/* 見出し */
.schedule-card h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

/* タイムライン */
.schedule-timeline {
  position: relative;
  padding-left: 25px;
}

.schedule-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  width: 2px;
  height: 100%;
  background: #ddd;
}

/* 各項目 */
.item {
  position: relative;
  margin-bottom: 18px;
}

.item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: #aaa;
  border-radius: 50%;
}

.item span {
  font-weight: bold;
  display: block;
  font-size: 1.3rem;
}

.item p {
  margin: 0;
  font-size: 1.4rem;
}

.weekday {
  background: #F3FBF6;
  grid-column: span 2;
}

.weekday .item::before {
  background: #4CAF8A;
}

.saturday {
  background: #F3F8FF;
}

.saturday .item::before {
  background: #6FA8DC;
}

.sunday {
  background: #FFF7F3;
}

.sunday .item::before {
  background: #F4B183;
}

.study-tag {
  display: inline-block;
  padding: 2px 8px;
  margin: 2px 4px 2px 0;
  font-size: 1.2rem;
  border-radius: 999px;
  background: #E6F5EE;
  color: #4CAF8A;
  font-weight: 600;
}


/* スマホ */
@media (max-width: 768px) {
  .schedule-3col {
    grid-template-columns: 1fr;
  }

  .weekday {
    grid-column: span 1;
    transform: none;     
  }
}


/* ==========================================================================
   follow（デザインそのまま）
   ========================================================================== 
.follow img{
  max-width: 80%;
  display: block;
  margin: 0 auto;
}

.follow-list {
  max-width: 1000px;
  margin: 0 auto;
  background: #FFF5FA;
}

.follow-item {
  padding: 20px 10px;
  border-bottom: 1px solid #eee;
}

.follow-item:last-child {
  border-bottom: none;
}

.follow-title {
  font-weight: bold;
  margin-bottom: 8px;
}

.follow-title span {
  color: #e6007e;
  margin-right: 10px;
}

.follow-item p {
  color: #555;
}


@media (max-width: 768px) {
  .follow-item {
    padding: 16px 8px;
  }

  .follow img {
    max-width: 100%;
  }
}
*/