/* ========== Flow Steps ========== */
.flow-steps {
  padding: 56px 20px 80px;
  background: #f0f2f5;
}

.flow-steps__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.flow-step {
  background: #fff;
  border-top: 2px solid;
  border-image: linear-gradient(to right, #194886, #2d66b1) 1;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.flow-step__body {
  flex: 1;
  min-width: 0;
}

.flow-step__heading {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #1f2c4d;
  margin: 0 0 14px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.flow-step__heading-em {
  font-weight: 600;
  color: #1f2c4d;
}

.flow-step__desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 2;
  color: #2a2a2a;
  margin: 0;
}

.flow-step__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  background: #1f2c4d;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
  min-width: 240px;
}

.flow-step__btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

@media screen and (max-width: 768px) {
  .flow-step {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 24px 15px;
  }

  .flow-step__btn {
    width: 100%;
    min-width: 0;
    padding: 14px 20px;
  }
}

/* ========== Flow Process (steps with circles) ========== */
.flow-process {
  /* margin-top: 40px; */
  /* background: #fff; */
  padding: 40px 40px 32px;
}

.flow-process__item {
  display: grid;
  grid-template-columns: 60px 280px 1fr;
  gap: 32px;
  align-items: start;
  position: relative;
  padding-bottom: 36px;
}

.flow-process__item:last-child {
  padding-bottom: 0;
}

.flow-process__num-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.flow-process__num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 600;
  background-image: linear-gradient(135deg, #0e3a73, #126cb5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  position: relative;
  z-index: 2;
  letter-spacing: 0.05em;
}

.flow-process__num-wrap::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.flow-process__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 54px;
  bottom: -4px;
  left: 30px;
  width: 2px;
  background: linear-gradient(to bottom, #3a5d8b, #4e73a4);
  transform: translateX(-50%);
  z-index: 0;
}

.flow-process__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #0e3a73;
  margin: 12px 0 0;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.flow-process__desc {
  margin-top: 12px;
}

.flow-process__item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 92px;
  right: 0;
  bottom: 18px;
  height: 1px;
  background: #cdcdcd;
}

.flow-process__desc p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  line-height: 2;
  color: #2a2a2a;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .flow-process {
    padding: 0;
  }

  .flow-process__item {
    grid-template-columns: 50px 1fr;
    gap: 14px;
    padding-bottom: 28px;
  }

  .flow-process__title {
    margin-top: 8px;
    font-size: 15px;
  }

  .flow-process__desc {
    grid-column: 2;
    margin-top: 8px;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .flow-process__item:not(:last-child)::before {
    left: 64px;
    right: 8px;
  }

  .flow-process__item:not(:last-child)::after {
    top: 54px;
    bottom: -4px;
    left: 25px;
  }

  .flow-process__desc p {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .flow-process__item {
    min-width: 0;
  }
}

/* ========== Curriculum (コース紹介) ========== */
.flow-curriculum {
  padding: 80px 20px;
  background: #f8f8f8;
}

.flow-curriculum__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.flow-curriculum__heading-wrap {
  text-align: center;
  margin-bottom: 24px;
}

.flow-curriculum__heading {
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 26px;
  font-weight: 600;
  color: #1f2c4d;
  margin: 0;
  letter-spacing: 0.05em;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

.flow-curriculum__heading-en {
  font-family: "Source Han Serif JP", "Noto Serif JP", serif;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #e4e4e4;
  line-height: 1;
  margin: -5px 0 0;
  position: relative;
  z-index: 1;
}

.flow-curriculum__lead {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 2;
  color: #2a2a2a;
  margin: 0 auto 36px;
  max-width: 1000px;
}

.flow-curriculum__diagram {
  width: 100%;
}

.flow-curriculum__diagram img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 1px solid #e0e3eb;
}

/* ========== Flow Courses (course cards) ========== */
.flow-courses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.flow-course {
  background: #fff;
  border: 1px solid #e0e3eb;
  display: flex;
  flex-direction: column;
}

.flow-course__heading {
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  background: #0e3a73;
  margin: 0;
  padding: 16px 20px;
  text-align: center;
  letter-spacing: 0.05em;
}

.flow-course:nth-child(2) .flow-course__heading {
  background: #732f0e;
}

.flow-course__body {
  padding: 28px 28px 32px;
}

.flow-course__label {
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #bfcddc;
  letter-spacing: 0.12em;
  text-align: center;
  margin: 0 0 16px;
}

.flow-course__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 18px;
  width: fit-content;
}

.flow-course__item {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 1.7;
  color: #2a2a2a;
  padding: 6px 0 6px 28px;
  position: relative;
}

.flow-course__item::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 2px;
  width: 12px;
  height: 6px;
  border-left: 2px solid #026eb3;
  border-bottom: 2px solid #026eb3;
  transform: rotate(-45deg);
}

.flow-course__price {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  color: #717171;
  text-align: center;
  margin: 0 0 14px;
}

.flow-course__desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 2;
  color: #2a2a2a;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid #e0e3eb;
}

@media screen and (max-width: 768px) {
  .flow-curriculum {
    padding: 56px 20px;
  }

  .flow-curriculum__heading {
    font-size: 22px;
  }

  .flow-curriculum__heading-en {
    font-size: 36px;
  }

  .flow-courses {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }

  .flow-course__body {
    padding: 20px 15px 20px;
  }
}

/* ========== Flow Oneday (NLP講座のご紹介) ========== */
.flow-oneday {
  padding: 80px 20px;
  background: #e7ecf1;
}

.flow-oneday__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.flow-oneday__heading-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.flow-oneday__heading {
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 26px;
  font-weight: 600;
  color: #1f2c4d;
  margin: 0;
  letter-spacing: 0.05em;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

.flow-oneday__heading-br {
  display: none;
}

.flow-oneday__heading-en {
  font-family: "Source Han Serif JP", "Noto Serif JP", serif;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #cfd3d7;
  line-height: 1;
  margin: -5px 0 0;
  position: relative;
  z-index: 1;
}

.flow-oneday__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  background: #fff;
  padding: 36px;
  align-items: center;
}

.flow-oneday__media img {
  display: block;
  width: 100%;
  height: auto;
}

.flow-oneday__title {
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 20px;
  font-weight: 600;
  color: #1f2c4d;
  margin: 0 0 18px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.flow-oneday__desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  line-height: 2;
  color: #2a2a2a;
  margin: 0;
}

.flow-oneday__info {
  grid-column: 1 / -1;
  margin: 16px 0 0;
  background: #fff;
  border-top: 1px solid #e0e3eb;
  border-bottom: 1px solid #e0e3eb;
}

.flow-oneday__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid #e0e3eb;
}

.flow-oneday__row:last-child {
  border-bottom: none;
}

.flow-oneday__term {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #1f2c4d;
  background: #f8f8f8;
  padding: 18px 24px;
  margin: 0;
  display: flex;
  align-items: flex-start;
}

.flow-oneday__cell-lead {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #2a2a2a;
  margin: 0 0 4px;
}

.flow-oneday__cell-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  color: #2a2a2a;
  margin: 0 0 8px;
}

.flow-oneday__cell-note {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  line-height: 1.7;
  color: #555;
  margin: 0 0 14px;
}

.flow-oneday__bonus {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.flow-oneday__bonus img {
  display: block;
  width: 100%;
  height: auto;
}

.flow-oneday__book {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  align-items: start;
}

.flow-oneday__book-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.flow-oneday__book-title {
  /* font-family: "Noto Serif JP", "Source Han Serif JP", serif; */
  font-size: 16px;
  font-weight: 600;
  color: #145786;
  margin: 0 0 8px;
  text-decoration: underline;
}

.flow-oneday__book-meta {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  line-height: 1.8;
  color: #2a2a2a;
  margin: 0 0 10px;
}

.flow-oneday__book-desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  line-height: 1.8;
  color: #2a2a2a;
  margin: 0;
}

.flow-oneday__notice {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 1.8;
  color: #145786;
  margin: 0 0 14px;
}

.flow-oneday__notice-heading {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  /* font-weight: 500; */
  color: #145786;
  margin: 14px 0 6px;
}

.flow-oneday__desc-cell p:not([class]) {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  line-height: 1.9;
  color: #2a2a2a;
  margin: 0 0 10px;
}

.flow-oneday__desc-cell p:last-child {
  margin-bottom: 0;
}

.flow-oneday__desc-cell {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 1.8;
  color: #2a2a2a;
  padding: 18px 24px;
  margin: 0;
}

.flow-oneday__desc-cell a {
  color: #126cb5;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .flow-oneday {
    padding: 56px 20px;
  }

  .flow-oneday__heading {
    font-size: 22px;
  }

  .flow-oneday__heading-br {
    display: inline;
  }

  .flow-oneday__heading-en {
    font-size: 36px;
  }

  .flow-oneday__card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 15px;
  }

  .flow-oneday__media {
    max-width: 100%;
    overflow: hidden;
  }

  .flow-oneday__media img {
    max-width: 100%;
    max-height: 220px;
    object-fit: cover;
    margin: 0 auto;
  }

  .flow-oneday__row {
    grid-template-columns: 100px 1fr;
  }

  .flow-oneday__term,
  .flow-oneday__desc-cell {
    padding: 14px 16px;
  }

  .flow-oneday__book {
    grid-template-columns: none;
    gap: 20px;
    align-items: start;
  }

  .flow-oneday__book-cover img {
    width: auto;
    height: 180px;
  }
}

/* ========== ワンデー講座下の開催日程カレンダー ========== */
/* 共通の .schedule を流用しつつ、このページだけ左右余白を調整 */
.flow-oneday__calendar.schedule {
  padding: 40px 36px 10px;
  background: #fff;
}

@media screen and (max-width: 768px) {
  .flow-oneday__calendar.schedule {
    padding: 40px 15px 10px;
  }
  /* 6ヶ月表示で列が少ないため、横幅を抑える */
  .flow-oneday__calendar .schedule__table {
    min-width: 600px;
  }
  /* スマホでは「講座名」と「開催日程」を2行に分ける */
  .flow-oneday__calendar .schedule__heading-suffix {
    display: block;
  }
}

