@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&display=swap');

/* ============================================================
  Common Components
  ============================================================ */
  /* h3見出し */
  .tr-section-title {
    color: #000;
    font-size: 1.875rem;
    font-weight: bold;
    border-left: 5px solid #000;
    padding-left: 24px;
    margin-bottom: 32px;
    line-height: 1.44;
  }

  @media (max-width: 768px) {
    .tr-section-title {
      font-size: 1.25rem;
    }
  }

/* ============================================================
  tr-hero (Hero Block)
  ============================================================ */
  .tr-hero__title {
    font-size: 2.0625rem;
    font-weight: bold;
    margin-bottom: 60px;
    color: #000;
  }

  /* ヒーローセクション */
  .tr-hero {
    margin-bottom: 60px;
  }

  .tr-hero__visual {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 24px;
  }

  .tr-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .tr-hero__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 32px;
    box-sizing: border-box;
  }

  .tr-hero__lead {
    color: #fff;
    font-size: 2.25rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.25;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.51);
  }

  @media (max-width: 767px) {
    .tr-hero__title {
      font-size: 1.375rem;
      margin-bottom: 40px;
    }
    .tr-hero {
      margin-bottom: 40px;
    }
    .tr-hero__visual {
      margin-bottom: 20px;
    }
      .tr-hero__overlay {
      padding: 14px 14px 12px 14px;
    }
    .tr-hero__lead {
      font-size: 1.0625rem;
      line-height: 1.3;
    }
    .tr-hero__description {
      font-size: .875rem;
    }            
  }

  /* ============================================================
    tr-feature (Feature Block)
    ============================================================ */
  .tr-feature__list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 60px;
  }

  .tr-feature__item {
    display: flex;
    justify-content: space-between;
    gap: 40px;
  }

  .tr-feature__content {
    flex: 1;
    padding-left: 12px;
  }

  .tr-feature__header {
    position: relative;
    margin-bottom: 20px;
    padding-top: 40px;
  }

  .tr-feature__number {
    position: absolute;
    top: 0;
    left: -12px;
    font-family: 'Poppins', sans-serif;
    font-size: 5.625rem;
    color: #EDF2CE;
    font-weight: 600;
    line-height: 1;
  }

  .tr-feature__title {
    position: relative;
    color: #111;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.46;
  }

  .tr-feature__text {
    position: relative;
    z-index: 1;
  }

  .tr-feature__figure {
    width: 300px;
    height: 300px;
  }

  .tr-feature__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  @media (max-width: 767px) {
    .tr-feature__list {
      margin-bottom: 40px;
    }            
    .tr-feature__content {
      padding-left: 4px;
    }
    .tr-feature__item {
      flex-direction: column;
      gap: 24px;
    }
    .tr-feature__number {
      left: 0;
    }
    .tr-feature__title {
      font-size: 1.125rem;
    }
    .tr-feature__text {
      font-size: .875rem;
    }
    .tr-feature__figure {
      width: 100%;
      height: auto;
    }
  }

  /* ============================================================
    tr-curriculum (Curriculum Block)
    ============================================================ */
    .tr-curriculum__list {
      position: relative;
      list-style: none;
      padding: 0;
      margin: 32px 0 60px 0;
    }

    .tr-curriculum__item {
      position: relative;
      display: flex;
      gap: 16px;
      padding-bottom: 3rem;
    }

    .tr-curriculum__side {
      position: relative;
      flex-shrink: 0;
      width: 24px;
      display: flex;
      justify-content: center;
    }

    .tr-curriculum__dot {
      position: relative;
      z-index: 2;
      width: 24px;
      height: 24px;
      background-color: #B9D424;
      border-radius: 50%;
    }

    .tr-curriculum__item:not(:last-child) .tr-curriculum__side::after {
      content: "";
      position: absolute;
      top: 0.25rem;
      bottom: -3rem;
      left: 50%;
      width: 2px;
      background-color: #B9D424;
      transform: translateX(-50%);
      z-index: 1;
    }

    .tr-curriculum__label {
      font-family: 'Poppins', sans-serif;
      font-size: 1.0625rem;
      color: #7BBB28;
      font-weight: 500;
      display: block;
      margin: 0.25rem 0 0;
      line-height: 1;
    }

    .tr-curriculum__day-num {
      display: inline-block;
      font-size: 1.125rem;
      font-weight: 600;
      margin-left: 0.5rem;
    }

    .tr-curriculum__title {
      font-size: 1.5rem;
      color: #000;
      font-weight: bold;
      margin-bottom: 12px;
    }

    @media (max-width: 767px) {
      .tr-curriculum__list {
        margin: 32px 0 40px 0;
      }
      .tr-curriculum__side {
        width: 20px;
      }
      .tr-curriculum__dot {
        width: 20px;
        height: 20px;
      }
      .tr-curriculum__item:not(:last-child) .tr-curriculum__side::after {
        bottom: -2.5rem;
      }
      .tr-curriculum__item {
        gap: 20px;
        padding-bottom: 2rem;
      }
      .tr-curriculum__label {
        margin: 0.1562rem 0 0.25rem 0;
        font-size: 0.9375rem;
      }
      .tr-curriculum__day-num {
        font-size: 1rem;
      }
      .tr-curriculum__title {
        font-size: 1.125rem;
        margin-bottom: 4px;
      }
      .tr-curriculum__lead,
      .tr-curriculum__detail {
        font-size: .875rem;
      }   
    }