@charset "utf-8";

.l-contents-detail h6 {
  font-weight: 500;
}
/* ===================================
   進路学習
   =================================== */
.timeline-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* タイムラインの縦線 */
.timeline-container::before {
  height: 72%;
  content: "";
  position: absolute;
  left: 47px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #eba8d8;
}

/* 各タイムラインアイテム */
.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 115px;
}

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

/* 円形バッジ */
.timeline-badge {
  position: absolute;
  left: 0;
  top: 0;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: #eba8d8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 500;
  z-index: 2;
}

.timeline-badge .grade {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
}
.timeline-badge .grade-number {
  font-family: "Bodoni Moda", serif;
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1;
}

/* コンテンツエリア */
.timeline-content {
  padding-top: 20px;
  position: relative;
  display: flex;
}
.timeline-item.item02 .timeline-content {
  padding-top: 34px;
}

/* タイトル部分 */
.timeline-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.timeline-title {
  min-width: 120px;
  font-size: 1.125rem;
  font-weight: 500;
  color: #8a6089;
  line-height: 1.5;
  flex-shrink: 0;
}

.timeline-divider {
  color: #ccc;
  font-weight: 300;
}

.timeline-subtitle {
  padding-left: 25px !important;
  font-size: 1.125rem !important;
  font-weight: 500 !important;
  color: #000 !important;
  border: none !important;
}
.timeline-subtitle::before {
  width: 15px !important;
  background-color: #a670a4 !important;
  top: 14px !important;
}

/* 説明文 */
.timeline-description {
  padding-left: 25px;
  font-size: 1rem;
  line-height: 1.75;
  color: #000;
}

/* 主な取り組みセクション */
.timeline-activities {
  padding: 20px 0 0 25px;
  display: flex;
  flex-wrap: wrap;
}

.activities-label {
  font-size: 0.85rem;
  color: #8a6089;
  line-height: 1.25;
  background-color: #f3f3f3;
  display: flex;
  align-items: center;
  margin-right: 0.9375rem;
  padding: 0 5px;
}

.activities-list {
  list-style: none;
}

.activities-list li {
  font-size: 1rem;
  color: #000;
  position: relative;
  padding-left: 16px;
}

.activities-list li:last-child {
  margin-bottom: 0;
}
.activities-image {
  margin-top: 30px;
}
.timeline-bottom-text {
  margin-top: 50px;
  font-size: 0.95rem;
}
.timeline-bottom-text a {
  text-decoration: underline;
}
.timeline-bottom-text a:hover {
  text-decoration: none;
}
.c-btn-pdf::before {
  width: 25px;
  right: 50px;
}
.c-btn::after {
  width: 25px;
}
.button-item {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}
/* 
.activities-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #d4a5d4;
  font-weight: bold;
} */

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .timeline-container::before {
    width: calc(6 * (100vw / 780));
    height: 76%;
    left: calc(58 * (100vw / 780));
  }

  .timeline-item {
    padding-left: calc(140 * (100vw / 780));
    margin-bottom: calc(60 * (100vw / 780));
  }

  .timeline-badge {
    width: calc(120 * (100vw / 780));
    height: calc(120 * (100vw / 780));
  }

  .timeline-badge .grade {
    font-size: calc(24 * (100vw / 780));
  }

  .timeline-badge .grade-number {
    font-size: calc(38 * (100vw / 780));
  }

  .timeline-content {
    flex-direction: column;
    padding: calc(40 * (100vw / 780)) 0;
  }

  .timeline-item.item02 .timeline-content {
    padding-top: calc(40 * (100vw / 780));
  }

  .timeline-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .timeline-title {
    font-size: calc(36 * (100vw / 780));
  }

  .timeline-divider {
    display: none;
  }

  .l-contents-detail .timeline-subtitle {
    margin: calc(30 * (100vw / 780)) 0 0 !important;
    font-size: calc(30 * (100vw / 780)) !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding-left: 0 !important;
  }

  .timeline-description {
    font-size: calc(28 * (100vw / 780)) !important;
    padding-left: 0 !important;
  }

  .timeline-activities {
    padding: calc(28 * (100vw / 780)) 0;
    flex-direction: column;
  }

  .activities-label {
    font-size: calc(24 * (100vw / 780));
    padding: 5px;
    align-self: flex-start;
  }

  .activities-list li {
    font-size: calc(28 * (100vw / 780));
    padding: calc(16 * (100vw / 780)) 0 0 calc(16 * (100vw / 780)) !important;
  }
  /* .career-learn > p {
    font-size: calc(28 * (100vw / 780));
  } */
  .timeline-bottom-text {
    margin: 0 0 calc(60 * (100vw / 780)) 0;
  }
  .button-item {
    width: 100%;
  }
  .c-btn-pdf::before {
    width: calc(40 * (100vw / 780));
    right: calc(80 * (100vw / 780));
  }
  .timeline-subtitle::before {
    content: none !important;
  }
}

/* @media (max-width: 480px) {
  .timeline-container::before {
    left: 36px;
  }

  .timeline-item {
    padding-left: 90px;
  }
.l-contents-detail .timeline-subtitle
    width: 72px;
    height: 72px;
  }

  .timeline-badge .grade {
    font-size: 0.7rem;
  }

  .timeline-badge .number {
    font-size: 1.8rem;
  }

  .timeline-content {
    padding: 20px 16px;
  }

  .timeline-title {
    font-size: 1.1rem;
  }

  .timeline-subtitle {
    font-size: 1rem;
  }
} */
