@charset "utf-8";

.training-img{
    max-width: 70%;
}

.training-midashi{
    text-align:center; 
    color:#0070c0; 
    font-weight:bold; 
    font-size: 120%;
    padding: 30px 0;
}

.training-header{
    text-align: center;
     background-color:#3573b5; 
     color:#ffffff; 
     line-height: 1.2; 
     padding: 10px;
     border-radius: 20px 20px 0 0;
}

.training-description{
    min-height: 243px;
    text-align: left;
    padding: 15px;
    background-color:#f2f2f2;
}

.training-conclusion{
    background-color:#f2f2f2; 
    padding:10px 20px; 
    text-align:center; 
    margin-top: 20px;
}

.step-container {
  display: flex;
  flex-wrap: wrap; /* スマホで折り返す設定 */
  gap: 10px;       /* ボックス間の隙間 */
  width: 100%;
  box-sizing: border-box;
}

.step-item {
  position: relative;
  flex: 1;            /* PCでは均等に横並び */
  min-width: 150px;   /* 狭くなりすぎないよう最小幅を設定 */
  background-color: rgb(239, 239, 239); /* ご指定の背景色 */
  padding: 20px 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.step-number {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #006699; /* 数字の背景色（濃いめの青系） */
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%; /* 円形にする */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.step-content {
  font-size: 15px;
  font-weight: bold;
  color: #333;       /* 文字色は濃いグレー */
  line-height: 1.4;
}
.flow-text {
    width:50%;
  }

.curriculum {
    width:30%;
  }

.curriculum-flow {
    width:60%;
  }

.curriculum-time {
    width:10%;
  }


/* スマホ対応（画面幅が600px以下の場合） */
@media (max-width: 600px) {
  .step-item {
    flex: none;
    width: calc(50% - 5px); /* 2カラム（2列）で並べる */
    min-height: 80px;
  }
  .flow-text {
    width:100%;
  }
  .curriculum {
    width:30%;
  }

.curriculum-flow {
    width:50%;
  }

.curriculum-time {
    width:20%;
  }

.training-description{
    min-height: auto;
}

.training-img{
    max-width: 50%;
}

.training-midashi{
    padding: 30px 0 0;
}

.training-conclusion{
    margin-top: 40px;
}



  
}