@charset "UTF-8";

/* MV下バナーのフォントサイズ */
#nbp2950604\ 2950604 .block_header_4 .h {
  font-size: 3rem !important;
}

#nbp2950604\ 2950604 .heading.block_header_4 p {
  font-size: 2.1rem;
}

@media (width <= 900px) {
  #nbp2950604\ 2950604 .block_header_4 .h {
    font-size: 3.4vw !important;
  }

  #nbp2950604\ 2950604 .heading.block_header_4 p {
    font-size: 2.4vw;
  }
}

@media (width <= 480px) {
  #nbp2950604\ 2950604 .block_header_4 .h {
    font-size: 6vw !important;
  }

  #nbp2950604\ 2950604 .heading.block_header_4 p {
    font-size: 4.2vw;
  }
}

/*----- 色変更(2025/02/13) -----*/
#handbook + .contents_box01 .inner_item_txt .heading.block_header_2 p {
    color: #ff8E3c;
    font-weight: bold;
}

/*----- MVレイアウト調整(2025/02/14) -----*/
@media only screen and (max-width: 900px) {
    #mv .mv_img li:nth-child(1) img {
        object-position: 77% 50%;
    }
    #mv .mv_img li:nth-child(2) img {
        object-position: 68% 5%;
    }
    #mv .mv_img li:nth-child(3) img {
        object-position: 55% 95%;
    }
    #mv .mv_img li:nth-child(4) img {
        object-position: 53% 50%;
    }
}

/*----- 修正_250319 -----*/
body#top #main [id^="top_feature_"]  + div.composite_box01.block_images_14 .inner_item .inner_item_txt{
  font-size: min(2.5vw, 1.5rem);
}

@media screen and (max-width: 920px) {
  body#top #main [id^="top_feature_"]  + div.composite_box01 .wrapper_item{
    flex-wrap: initial;
    gap: 1rem;
  }

  body#top #main [id^="top_feature_"]  + div.composite_box01.block_images_14 .inner_item,
  body#top #main [id^="top_feature_"]  + div.composite_box01.block_images_14 .inner_item:nth-of-type(2n) {
        margin-left: 0% !important;
        margin-bottom: 0% !important;
  }
}

@media screen and (max-width: 900px) {
  body#top #main [id^="top_feature_"]  + div.composite_box01.block_images_14 .inner_item .block_header_4 .h{
    font-size: min(3vw, 1.8rem) !important;
  }
}

@media screen and (max-width: 700px) {
  body#top #main [id^="top_feature_"]  + div.composite_box01.block_images_14 .inner_item,
  body#top #main [id^="top_feature_"]  + div.composite_box01.block_images_14 .inner_item:nth-of-type(2n) {
        margin-left: 0% !important;
        margin-bottom: 0% !important;
  }
}

@media screen and (max-width: 600px) {
  body#top #main [id^="top_feature_"]  + div.composite_box01.block_images_14 .inner_item .inner_item_txt{
    font-size: min(2.5vw, 1.5rem);
  }

  body#top #main [id^="top_feature_"]  + div.composite_box01.block_images_14 .inner_item{
    padding:1rem;
  }
}

@media screen and (max-width: 500px) {
  #top_course + div.widget_menu01 ul{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  #top_course + div.widget_menu01 ul li{
    width: calc(50% - 0.5rem);
  }

  #top_course + div.widget_menu01 ul li dt{
    font-size: min(3vw, 1.8rem);
  }

  #top_course + div.widget_menu01 ul li dd{
    font-size: min(2.5vw, 1.5rem);
  }

  #top_course + div.widget_menu01 ul li .price{
    font-size: min(3vw, 1.8rem);
  }
}

/*----- MV見出し調整_250328 -----*/
#mv .mv_text > div > div {
    display: block;
    min-height: 3rem;
    /*line-height: 1.1;*/
   line-height: 1.3;
    letter-spacing: 0.2rem;
    font-weight: 500;
    font-size: 3.8rem !important;
    position: relative;
    color: #423C39;
}
#mv .mv_text > div > div .fontS{
    /*font-size: 20.52px;*/
   font-size: 4.5rem;
   font-weight: bold;
}
#mv .mv_text > div > div span.btm {
    display: inline-block;
    padding-top: 10px;
}

@media screen and (max-width: 600px) {
    #mv .mv_text > div > div{
        line-height: 1.5;
        font-size: 5.4vw !important;
    }
    #mv .mv_text > div > div .fontS{
        font-size: 6.4vw;
    }
}


/*----- h1タグ新規追加_250328 -----*/
.top_h1{
    font-size: 2em;
    font-weight: 700;
    text-align: center;
    background-color: var(--i_main_color);
    color: #ffffff;
    padding: 1em;    
}
.top_h1 .name{
    font-size: 1.4em;   
}

@media screen and (max-width: 900px) {
    .top_h1{
        font-size: 1em;
    }
}
@media screen and (max-width: 350px) {
    .top_h1{
        font-size: 0.8em;
    }
}