/****************************************
    トップ
*****************************************/
.r-top{
  color: white;
  font-weight: bold;
  background-color: #28ade2;
  margin-top: 71px;
  height: 411px;
  padding-top: 100px;
}
.r-top h1{
  font-size: 75px;
}
/****************************************
    背景
*****************************************/
.margin-text-center{
  text-align: center;
  /* margin: 0 auto; */
}

.bg-blue{
  background-color:#FFF4E6;
}
/****************************************
    背景
*****************************************/
.rtech-ul{
  max-width: 1000px;
  padding: 0 2% 0 2%;
  margin: 0 auto;
  list-style: none;
  display: list-item; 
  text-align: justify;
}
.rtech-ul li{
  width: 100%;
  padding: 30px 50px 40px;
  background: #fff;
  margin-top: 50px;
}

 /****************************************
    タイトル
*****************************************/
.blue-reason{
  color: #333;
  font-size: 30px;
  margin: 0;
  padding: 0;
}
/* .blue-reason-border{
  border-bottom: solid 3px #ff7a21;
  max-width: 1000px;
  margin: 0 auto;
} */

 /****************************************
    サブタイトル
.home-sub-title{
  font-size: 2.2rem;
  margin:40px 0px -20px 0px;
}
.reason{
  font-size: 25px;
}

 /****************************************
    リスト
*****************************************/
.r-li-title{
  line-height: 1.22;
  margin: 0 0 20px;
  color: #333333;
  font-size: 2.2rem;
  font-weight: bold;
}
.r-li-title span{
  display: block;
  width: 200px;
  background: #ff7a21;
  color: #fff;
  font-size: 25px;
  line-height: 37px;    
  text-align: center;
  margin-left: -50px;
  margin-bottom: 20px;
}
.r-li-title em{
  color: #ff7a21;
  font-style: normal;
}
.r-img{
  max-width: 100%;
  height: auto;
}
.event-img{
  width: 300px;
}
.f-container{
  display: flex;
}
.f-item{
  flex: 1;
  text-align: center
}
/****************************************
    コンテンツ
*****************************************/
.r-contents{
  padding: 50px 0;
}
/****************************************
    ボタン
*****************************************/
.r-btn--orange{
  color: #fff;
  background-color: #eb6100;
  padding: 20px 50px;
  font-size: 50px;
  opacity: 0.95;
}
.r-btn--orange:hover{
  background: #f56500;
}
.r-orange-btn{
  position: fixed;
  left: 50%;
  top: 94%;
  transform: translateX(-50%)
             translateY(-50%);
  width: 550px;
}
.teacher-card{
  text-align: center; /* ← 親基準で中央寄せ */
}
.btn-flat-double-border {
  display: inline-block;
  padding: 0.6em 1.4em;
  text-decoration: none;

  color: #d97706;                 /* 文字：落ち着いたオレンジ */
  border: double 4px #f59e0b;     /* 枠：少し明るめオレンジ */
  border-radius: 6px;

  transition: all .3s ease;
  margin: 16px auto 0;
}
.btn-flat-double-border:hover {
  background: #fff7ed;           /* 薄いオレンジベージュ */
  color: #b45309;
}
.btn-center {
  text-align: left;            /* ← 中央寄せ */
  margin-top: 10px;
}
/****************************************
    表
*****************************************/
.hyou-title{
  line-height: 54px;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  max-width: 864px;
  margin: 50px auto -4px auto;
}
.blue-title{
  background: #2ca8ee;
}
.green-title{
  background: #3ec34f;
}
.pink-title{
  background: #ee96bd;
}
.r-tbl {
  width: 100%;
  border-collapse: collapse;
  line-height: 50px;
  font-size: 16px;
  max-width: 864px;
  margin: 0 auto;
  text-align: left;
  color: #333333;
}
.bl-border{
  border:4px solid#2ca8ee;
}
.gr-border{
  border:4px solid#3ec34f;
}
.pi-border{
  border:4px solid #ec78ab;
}
.r-tbl td,.r-tbl th {
  border-collapse: collapse;
  border:1px solid #bfbfbf;
}
.r-tbl th {
  text-align: center;
  font-weight: bold;
}
.bl-bg th{
  background: #d0e9fc none repeat scroll 0 0;
}
.gr-bg th{
  background:#dbfcdf none repeat scroll 0 0;
}
.pi-bg th{
  background:#fae2f2 none repeat scroll 0 0;
}
.r-tbl td{
  padding-left: 10px;
  font-weight: bold;
}
/****************************************
    プラン
*****************************************/
.blue-margin{
  padding-top: 130px;
}
/****************************************
    レスポンシブ
*****************************************/

@media screen and (max-width: 640px) {
  .home-sub-title{
    font-size: 20px;
    margin:20px 0px -15px 0px;
    line-height: 1.8em;
  }
  .r-top{
    height: 159px;
    padding-top: 29px;
  }
  .r-top h1{
    font-size: 25px;
  }
  .reason{
    font-size: 15px;
  }
  .blue-reason{
    font-size: 22px;
  }
  .blue-reason-border{
    width: 95%;
  }
  .r-contents{
    padding: 1px 0 18px 0;
  }
  .rtech-ul{
    padding: 0 5% 0 5%;
  }
  .rtech-ul li{
    width: 100%;
    padding: 15px;
    background: #fff;
    margin-top: 25px;
  }
  .rtech-ul p{
    line-height: 1.875;
  }
  .r-img{
    max-width: 280px;
  }  
  .f-container{
    flex-direction: column;
    align-items: center;
  }
  .r-li-title{
    font-size: 19px;
    line-height: 1.35;
    margin: 0 0 10px;
  }  
  .r-li-title span{
    font-size: 14px;
    width: 102px;
    line-height: 20px; 
    margin-left: -15px;
  }  
  .r-btn--orange{
    font-size: 20px;
    font-weight: bold;
  }
  .r-orange-btn{
    width: 300px;
    top: 96%;
  }
  .hyou-title{
    font-size: 15px;
    line-height: 36px;
    margin: 25px auto -2px auto;
  }
  .r-tbl{
    font-size: 16px;
    line-height: 1.8em;
  }
  .bl-border{
    border:2px solid#2ca8ee;
  }
  .gr-border{
    border:2px solid#3ec34f;
  }
  .pi-border{
    border:2px solid #ec78ab;
  }
  .blue-margin{
    padding-top: 60px;
  }
  .event-img{
    width: 100%;
  }
  .btn-center{
    text-align: center;
  }
}