@charset "utf-8";

/* ==========================================================================
   LPレイアウト流用：受講までの流れ (flow_course.css)
   ========================================================================== */
:root {
  --flow: #e284c6;
  --container-pad: 20px;
}

/* --- ベースレイアウト --- */
.flow {
  --flow: #e284c6;
}
.flow-box {
  border: 1px var(--flow) solid;
  background-color: #fff;
}
.flow-head {
  padding: 1.4em min(var(--container-pad), 60px);
  font-size: clamp(16px, 4vmin, 22px);
  color: var(--flow);
  font-weight: bold;
}
.flow-body {
  padding: 0 min(var(--container-pad), 60px);
}
.flow-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --- ステップ丸と矢印 --- */
.flow-step {
  display: flex;
  gap: 1em;
  position: relative;
  align-items: center;
}
.flow-no {
  font-size: clamp(14px, 3.5vmin, 22px);
  width: 3.6em;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.flow-no .step {
  background-color: var(--flow);
  color: #fff;
  border-radius: 50%;
  width: 3.6em;
  height: 3.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  font-family: "linotype-didot", serif;
}
.flow-no .arrow {
  width: 2.3666666667em;
  background-color: #f9e6f3;
  height: calc(100% + 1em);
  margin-top: -1em;
  clip-path: polygon(65% 0, 65% calc(100% - 1em), 100% calc(100% - 1em), 50% 100%, 0 calc(100% - 1em), 35% calc(100% - 1em), 35% 0);
}
.flow-detail {
  display: flex;
  gap: 0.1em;
}
.flow-title {
  font-size: clamp(16px, 4vmin, 24px);
  color: var(--flow);
  margin: 0;
}
.flow-ic {
  flex-shrink: 0;
  width: 4.5em;
  text-align: center;
}
.flow-ic img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* --- Step 1 --- */
.flow-1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}
.flow-1-col {
  border: 1px var(--flow) solid;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 1.5rem;
  gap: 1.5rem;
  color: var(--flow);
  text-align: left;
}
/* Step2と同じ文字サイズ(12px〜14px)に統一 */
.flow-1-col .text {
  font-size: clamp(12px, 2.5vmin, 14px);
  line-height: 1.5;
}
.flow-1-arrow {
  position: relative;
  background-color: var(--flow);
}
.flow-1-arrow::before {
  content: "";
  width: 1em;
  height: 1em;
  border-top: 1px var(--flow) solid;
  border-right: 1px var(--flow) solid;
  position: absolute;
  display: block;
}

/* --- Step 2 --- */
.flow-2 {
  width: 100%;
}
.flow-2-category {
  margin-bottom: 2em;
}
.flow-2-cat-title {
  font-size: clamp(14px, 3.5vmin, 18px);
  color: #fff;
  background-color: var(--flow, #e284c6);
  display: inline-block;
  padding: 0.4em 1.2em;
  border-radius: 20px;
  margin-bottom: 1em;
  font-weight: bold;
}
.flow-2-col {
  border: 1px var(--flow) solid;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem 2rem 1rem 1rem; 
  gap: 1rem;
  color: var(--flow);
  text-align: left;
  position: relative;
}
.flow-2-col .text {
  font-size: clamp(12px, 2.5vmin, 14px);
  line-height: 1.5;
}
.flow-2-col .free {
  position: absolute;
  background-color: var(--flow);
  color: #fff;
  font-size: clamp(11px, 2.5vmin, 13px);
  width: 4.5em;
  height: 4.5em;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0.5em 0.5em 0 0;
  right: 0;
  top: 0;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  line-height: 1;
}
.flow-2-desc {
  font-size: clamp(12px, 3vmin, 14px);
  background-color: #f6f6f6;
  padding: 1em;
  margin-top: 1em;
  text-align: left;
}

/* --- Step 3,4,5,6 (テキストコンテンツエリア) --- */
.flow-text-area {
  width: 100%;
  padding-bottom: 2em;
  font-size: clamp(13px, 3vmin, 15px);
  text-align: left;
}
.flow-attention {
  font-size: clamp(15px, 3.5vmin, 18px);
  color: var(--flow);
  font-weight: bold;
  border-bottom: 1px dashed #dcdcdc;
  padding-bottom: 0.8em;
  margin-bottom: 1.5em;
}

/* ズレを防ぐため本文（左端）に揃える */
.small-note {
  font-size: 12px;
  color: #666;
  font-weight: normal;
  padding-left: 0;
  margin-bottom: 0.5em;
}
.flow-text-line {
  margin-bottom: 0.5em;
}

.flow-sub-block {
  margin-bottom: 1.5em;
}
.flow-sub-head {
  background-color: #f9e6f3;
  color: var(--flow);
  padding: 0.5em 1em;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 0.8em;
  text-align: left;
}

/* リスト(ol/ul)のインデントを0にし、※マークと完全に左端を揃える */
.flow-list-decimal {
  padding-left: 0;
  list-style: decimal inside;
  margin-bottom: 0.5em;
}
.flow-list-disc {
  padding-left: 0;
  list-style: disc inside;
  margin-bottom: 0.5em;
}
.flow-list-decimal li, .flow-list-disc li {
  margin-bottom: 0.3em;
}

.flow-highlight-box {
  background-color: #fcfad0;
  padding: 1.5em;
  text-align: center;
  margin-bottom: 1.5em;
  font-size: 16px;
  line-height: 1.6;
}
.flow-grid-2 {
  display: grid;
  gap: 1.5em;
}

/* --- カード型要素 --- */
.flow-card {
  background-color: #f6f6f6;
  padding: 1.5em;
  border-radius: 4px;
}
.flow-card-title {
  color: var(--flow);
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 0.5em;
  text-align: left;
}
.flow-pay-site {
  text-align: left;
/*  text-decoration: underline;*/
  margin-bottom: 1em;
  color: var(--flow);
}
.flow-card-brands {
  background-color: #fff;
  border: 1px solid #dcdcdc;
  padding: 1em;
  text-align: center;
  margin-top: 1em;
}

/* --- ステータスボックス --- */
.flow-status-box {
  border: 2px solid var(--flow);
  background-color: #f6f6f6;
  text-align: left;
}
.flow-status-head {
  background-color: var(--flow);
  color: #fff;
  font-weight: bold;
  padding: 0.5em 1em;
  text-align: left;
}
.flow-status-body {
  padding: 1.5em;
}

/* ==================================================
   Media Queries (スマホ ⇔ PC の切り替え)
   ================================================== */
@media screen and (max-width: 1020px) {
  .flow-1 {
    padding-bottom: 2em;
  }
  .flow-1-arrow {
    width: 1px;
    height: 2.5em;
    align-self: center;
    flex-shrink: 0;
  }
  .flow-1-arrow::before {
    left: -0.45em;
    bottom: 2px;
    transform: rotate(135deg);
    transform-origin: center;
  }
  .flow-1-col {
    padding: 1rem;
    gap: 1rem;
  }
  .flow-ic {
    width: 3.5em;
  }
  .flow-2-row.is-3col, .flow-2-row.is-1col {
    display: flex;
    flex-direction: column;
    gap: 1em;
  }
  .flow-2-col {
    width: 100%;
    min-height: 5em;
  }
  .flow-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width: 1021px) {
  .flow-step {
    gap: 1.5em;
  }
  .flow-detail {
    gap: 1.5em;
  }
  .flow-1 {
    padding-bottom: 3em;
    flex-direction: row;
  }
  .flow-1-col {
    width: 50%;
    min-height: 7.5em;
  }
  .flow-1-arrow {
    width: 60px;
    height: 1px;
    align-self: center;
    flex-shrink: 0;
  }
  .flow-1-arrow::before {
    top: -0.5em;
    right: 2px;
    transform: rotate(45deg);
    transform-origin: center;
  }

  /* PC時の3カラムレイアウト */
  .flow-2-row.is-3col {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1em 2%;
  }
  .flow-2-row.is-3col .flow-2-col {
    width: 32% !important;
  }
  .flow-2-row.is-1col {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
  }
  .flow-2-row.is-1col .flow-2-col {
    width: 32% !important;
  }
  
  .flow-2-col {
    min-height: 7.5em;
  }
  .flow-2-desc {
    padding-bottom: 2em;
  }
  .flow-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}
/* =========================================
   オンライン講座 当日までの流れ 追加スタイル
   ========================================= */

/* 余白調整用クラス */
.course-content-mb {
  margin-bottom: 5rem;
}
.flow-body-pd {
  padding-top: 2em;
  padding-bottom: 2em;
}
.flow-item-mb {
  margin-bottom: 2em;
}
.small-note-mt {
  margin-top: 10px;
}
.arrow-transparent {
  background-color: transparent;
}

/* 注意事項ブロック（ピンク系） */
.flow-alert-box {
  margin-top: 1.5em;
  border: 2px solid #e284c6;
  background-color: #f9e6f3;
}
.flow-alert-text {
  color: #e284c6;
  font-weight: bold;
  margin-bottom: 0;
}