@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;700&display=swap');

:root{
    --primary:#e4cff9;
    --dark:#21252f;
    --body:#888;
    --box-shadow:0 8px 20px rgba(0,0,0,0.2);
    --nav_text:#fff;
    --text:#482e04;
    --content_background_color:#f5f2f6;
    --title_background:  #e3cd24;
    --border: 3px solid #d2b3d4;
    --card_border: 3px solid #6f5d70;

}
*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body{
    font-family:'Yusei Magic', sans-serif 'Sora', sans-serif,'メイリオ', 'Meiryo', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
    line-height: 1.7;
    color: var(--text);
}
.page_main{
  background: #d5eaf7;
}
h1,h2,h3,h4,h5,h6{
    font-weight:700;
}

a{
    color:var(--dark);
  }
p{
    color: var(--text);
}
header,main,footer{
    width: 100%;
    margin: 0;
    padding: 0;
}

header{
    position: sticky;
    top: 0;
    z-index: 999;  
}

.title_img{
  max-width:1600px;
  width:100%;
  margin:0 auto;
}
.title_img img{
width: 100%;
height:auto;
}
.sub_img{
  max-width: 1200px;
   width:100%;
  margin: 0 auto;
}

.sub_img img{
width: 100%;
height: auto;
}
.carousel {
  margin-bottom: 4rem;
}

.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

.carousel-item {
  height: 32rem;
}



.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}


.featurette-divider {
  margin: 5rem 0; 
}


.featurette-heading {
  letter-spacing: -.05rem;
}
.white-divider {
  border-color: white;
}

.small-white-text {
  font-size: 20px;
  color:#fff;
}
.white-text{
  color: #fff;
}
.teacher_text{
  font-size: 1.2em;
}

@media (min-width: 40em) {
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

main {
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
  }
  .bread{
    font-size: 0.8em;
    margin: 0;
    padding: 0;
    color:#fff;
 }
.bread ol{
    display:flex;
    padding-left: 0;
    text-align: center;
    width: 95%;
 line-height: 1em;
    margin: 0 auto;
}
.bread  ol li{
    display: inline;
    margin-right: 5px;
    margin-top: 0;
    font-size: 100%;
    display: flex;
    list-style: none;
    padding-top: 1em;
}
.bread ol a{
  color:#fff;
}
.bread ol li a:hover{
    color: #f1a4eb!important;
}

.teacherPage {
  width: 100%;
  height: auto; 
  padding: 0;
  position: relative;
  background: linear-gradient(135deg, #819df9, #c5e3f7);
}


.page_title h2{
  width: 100%;
  margin: 0 auto;
}
.page_title h2 img{
width: 100%;
height: auto;
      margin-left: 5%;
      margin-right: 5%;
}

.page_title h3 {
  position: relative;
  padding: 1em;
  margin: 1em;
  background: rgb(252, 252, 252);
  color: #1b13fc;
}

.page_title h3::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(47, 121, 247);
}



@media screen and (max-width: 768px) 
{

    h2{
      font-size: 1.2em!important;
    }

.bread{
   font-size: 0.8em;
   margin: 0;
   padding: 0;
}

    a.text-light
    {
    font-size: 16px;
    }


    .bread{
 font-size: 0.8em;
    }

   h2{
      font-size: 2em;
    }
    .teacher_text{
      font-size: 1em;
    }
    
  }

    @media screen and (max-width: 576px)
     {
       
        .contents_title{
            margin-top: 2em;
        }
      }