@charset "UTF-8";

.wrapper_hp{
    max-width:2200px;
    min-width: 375px;
    margin: 0 auto;
}
body {
    font-family: sans-serif;
     }

p {
  letter-spacing: 0.1rem;
}

img {
  vertical-align: bottom;
  line-height: 1.0em;
}
/*旧ナビバー*/
/*
.navbar{
    height:57px;
    max-width:2200px;
    width: 100%;
    position:absolute;
}

.navbar_back_header{
    height:57px;
    max-width:2200px;
    position:fixed;
    display: flex;
    background-color:rgba(255, 255, 255, 0.5);
    z-index:100;
    width: 100vw;
}

.logo_itaru{
    height:57px;
}

.fb_logo_header{
    height:28px;
}
.contact_text_header{
    font-size:16px;
    padding: 2.5px 15px;
    letter-spacing: 3px;
    background-color: rgb(156, 155, 155);
    border-radius: 5px;
    color: rgba(255,255,255);
    margin-left:5px;
    margin-right:15px
}

.DivLink_header{
    position:relative;

}

.DivLink_header .Link_header{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media (max-width:960px){
    .navbar{
        height:45px;
    }
    .navbar_back_header{
        height:45px;
    }
    .logo_itaru{
        height:45px;
    }
    .fb_logo_header{
        height:22px;
    }
    .contact_text_header{
      padding-top:2px;
      font-size:14px;
    }
}
@media (max-width:520px){
    .navbar{
        min-width: 375px;
        height:35px;
    }
    .navbar_back_header{
        min-width: 375px;
        height:35px;
    }
    .logo_itaru{
        height:35px;
    }
    .fb_logo_header{
        height:15px;
    }
    .contact_text_header{
        padding-top:0px;
        font-size:10px;
    }

}
*/

/*ハンバーガーメニュー作成に当たり変更、新ナビバー*/
.navbar{
   font-size:16px;
}
.navbar-nav li a{
    margin-right: 15px;
}

.carousel-caption{
    background-color:rgba(255, 255, 255, 0.7);
    border-radius:20px;
    max-width: 620px;
    height: 320px;
    margin: 2rem auto 0;
    padding: 2rem;
    top: 50%;
    transform: translateY(-50%);
}
.main_title_div{
    padding-top:30px;
    max-width:318px;
    margin:auto;
}
/*navバー縮小時に塾生の声へのリンクのみ単独で表示*/
/*.menu_container{
    position: relative;
}
.voice-link{
    display: none;
}
@media (max-width: 575px) {
.voice-link {
    display: block;
    position: absolute;     /* spanを絶対位置指定に */
/*    right: 60px;               /* 右側に固定 */
/*   top: 8px;
/*    text-decoration: none;  /* 下線を取り除く */
/*   color: inherit;         /* 親要素と同じ色にする、もしくは他の色を指定する */
/*}
.voice-link:visited{
    color: inherit;
}
}



/*画面縦幅いっぱいに表示する設定。レスポンシブ時の挙動が微妙なため保留。*/
/* .top1_image{
  width: auto;
  height: 100vh;
  object-fit: cover;
} */

.main_title_1{
    color:#595757;
    padding-top:40px;
    font-weight:300;
    font-size:28px;
    letter-spacing:22px;
    white-space:nowrap;
    overflow:hidden;
    animation:main_title 2s linear;
}
@keyframes main_title{
    from{
        width:0%;
    }
    to{
        width:100%;
    }
}
.main_title_2{
    font-weight:normal;
    font-size:32px;
    letter-spacing:7px;
    color: transparent;
    text-stroke: 1px white;
    -webkit-text-stroke: 1px #595757;
    padding-top:10px;
    padding-bottom:10px;
}
/*ダイヤモンドと横棒のブロック*/
.main_title_daiya_block{
    max-width:320px;
    position:relative;
    margin:auto
}
.left_daiya{
    height:14px;
    position:absolute;
    top:-6px;
    left:0;
    right:auto;
}
.main_title_border{
    width:290px;
    border-bottom: 1.5px solid #595757;
    margin:auto;
}
.right_daiya{
    height:14px;
    position:absolute;
    top:-7px;
    left:auto;
    right:0;
}

/*同志よ、ともに～*/
.main_title_p_block{
    max-width:290px;
    height:45px;
    position:relative;
    margin:auto;
}
.main_title_p1{
    color:#595757;
    font-size:17px;
    -webkit-transform:scale(0.5);
    -moz-transform:scale(0.5);
    -ms-transform:scale(0.5);
    -o-transform:scale(0.5);
    transform:scale(0.5);
    letter-spacing: 1px;
    position:absolute;
    top:10px;
    left:-18px;
    right:auto;
}
.main_title_p2{
    height:30px;
    color:#595757;
    font-weight:bold;
    font-size:12px;
    letter-spacing: 1px;
    padding-top:6px;
    padding-left:12px;
    position:absolute;
    top:7px;
    left:auto;
    right:0;
    border-left: 1px solid #707070;
}

.main_title_p3 {
  display: none;
}

.main_title_p4 {
  display: none;
}

.main_title_3_itaru{
    display:none;
}
.transformerSAGA{
  position: relative;

}
.transformerSAGA_button{
  position: absolute;
  bottom: 5%;
  right: 5%;
}

.transformerSAGA_div{
  width: 22rem;
  height: 20rem;
}
@media (max-width: 1100px){
    .transformerSAGA_div{
      width: 18rem;
      height: 18rem;
    }
}
@media (max-width: 900px){
    .transformerSAGA_div{
      width: 15rem;
      height: 15rem;
    }
}
@media (max-width: 800px){
    .transformerSAGA_div{
      width: 12rem;
      height: 12rem;
    }
}
@media (max-width: 700px){
    .transformerSAGA_div{
      width: 10rem;
      height: 10rem;
    }
}
@media (max-width: 600px){
    .transformerSAGA_div{
      width: 7rem;
      height: 7rem;
    }
}
@media (max-width: 500px){
    .transformerSAGA_div{
      width: 5.5rem;
      height: 5.5rem;
    }
}

.matchcoin{
  position: relative;
}
.matchcoin_button{
  position: absolute;
  bottom: 60%;
  right: 5%;
}
.matchcoin_div{
  width: 25em;
  height: 25em;
}

@media (max-width: 1850px){
.matchcoin_div{
  width: 22em;
  height: 22em;
}
}
@media (max-width: 1500px){
.matchcoin_div{
  width: 18em;
  height: 18em;
}
}
@media (max-width: 1350px){
.matchcoin_div{
  width: 16em;
  height: 16em;
}
}
@media (max-width: 1170px){
.matchcoin_div{
  width: 14em;
  height: 14em;
}
}
@media (max-width: 1000px){
.matchcoin_div{
  width: 12em;
  height: 12em;
}
}
@media (max-width: 890px){
.matchcoin_div{
  width: 10em;
  height: 10em;
}
}
@media (max-width: 730px){
.matchcoin_div{
  width: 8em;
  height: 8em;
}
}
@media (max-width: 580px){
.matchcoin_div{
  width: 6em;
  height: 6em;
}
}



@media (max-width: 960px){
    .carousel-caption{
    padding-top: 3vw;
    max-width: 480px;
    max-height: 220px;
    height:35vw;
    top: 45%;
    transform: translateY(-50%);
    }
    .main_title_div{
    padding-top:2px;
    max-width:318px;
    }
    .main_title_1{
        padding-top:18px;
        font-size:26px;
        margin-left:8px;
    }
    .main_title_2{
        padding-top:5px;
        margin-bottom: 0;
        font-size:25px;
    }
    .main_title_p_block{
    height:40px;
    }

}

@media (max-width: 520px){
    .carousel-caption{
    padding-top: 4vw;
    max-width: 480px;
    max-height: 220px;
    height:32vw;
    top: 50%;
    transform: translateY(-60%);
    }
    .main_title_div{
    padding-left:8px;
    }
    .main_title_1{
        padding-top:10px;
        margin:  0 auto;
        font-size:12px;
        letter-spacing:15px;
        width:185px;
    }
    .main_title_2{
        font-size:14px;
        padding:8px 0 6px 0;
    }
    /*ダイヤモンドと横棒のブロック*/
    .main_title_daiya_block{
        display:none;
    }
    .left_daiya{
        display:none;
    }
    .main_title_border{
        display:none;
    }
    .right_daiya{
        display:none;
    }
    .main_title_p1{
        display:none;
    }
    .main_title_p2{
        display:none;
    }
    .main_title_p_block{
      height:2px;
      width:50px;
      border-bottom: 0.5px solid #595757;
    }
    .main_title_p3{
      color:#595757;
      padding-top:0.5rem;
      margin-bottom:0px;
      font-size:16px;
      -webkit-transform:scale(0.5);
      -moz-transform:scale(0.5);
      -ms-transform:scale(0.5);
      -o-transform:scale(0.5);
      transform:scale(0.5);
      display: block;
    }
    .main_title_p4{
      color:#595757;
      font-weight:bold;
      padding-top:0px;
      font-size:10px;
      letter-spacing:2px;
      display: block;
    }
}

@media (max-width: 490px){
    .carousel-caption{
        padding-top: 3vw;
    }
}
@media (max-width: 450px){
    .carousel-caption{
        padding-top: 2vw;
    }
}
@media (max-width: 420px){
    .carousel-caption{
        padding-top: 1vw;
    }
    .main_title_div{
        padding-left:8px;
    }
    .main_title_2{
        padding:8px 0 5px 0;
    }
    .main_title_p_block{
        height:2px;
        width:50px;
        border-bottom: 0.5px solid #595757;
    }
    .main_title_p3{
        color:#595757;
        padding-top:2px;
        margin-bottom:0px;
    }
}
.main_visual_smartphone{
    display: none;
  }
@media (max-width: 414px) {
 .main_visual {
    display: none;
  }
 .main_visual_smartphone{
    display:block;
    transform: translateY(0px);
 }
    .transformerSAGA_button{
      position: absolute;
      bottom: 7%;
      right: 5%;
    }

    .transformerSAGA_div{
      width: 8rem;
      height: 8rem;
    }
    .matchcoin_button{
      position: absolute;
      bottom: 3%;
      right: 54%;
    }
    .matchcoin_div{
      width: 13.5em;
      height: 13em;
    }
}

/*footer*/
.footer{
    background-color:#625651;
    height:165px;
    position:relative;
}
.footer_border{
    width:50vw;
    max-width: 900px;
    border-bottom:solid;
    border-color:#C4C4C4;
    border-width:0.2px;
    padding-top: 50px;
    margin:auto
}
.footer p{
    color:#E6E6E6;
    padding-top: 20px;
    text-align:center;
    font-size:20px;
}
.footer_logo{
    position:absolute;
    height:160px;
    top:7px;
    right: 0;
    left: auto;
}
@media (max-width: 960px){
    .footer{
        height:20vw;
        }
    .footer_logo{
        height:18vw;
        }
    .footer p{
        color:#E6E6E6;
        padding-top: 14px;
        text-align:center;
        font-size:16px;
    }
}
@media (max-width: 520px){
    .footer{
        height:22vw;
        }
    .footer_logo{
        height:20vw;
        }
    .footer_border{
    width:40vw;
        }
    .footer p{
    padding-top: 2vw;
    font-size:max(1vw,10px);
    }
}

/* -----aoubt_us ここから----- */
html { font-size:80%}

.all_aboutus h1 {
    color: #625651;
    font-weight: normal;
    font-size: 38px;
    letter-spacing: 0.2em;
}
.all_aboutus h2{
    color: #625651;
    font-size: 1.4rem;
    line-height: 1.9;
    padding-top: 15px;
    text-align: center;
}

.all_aboutus p {
    color: #625651;
    font-size: 1.2rem;
    line-height: 1.9;
    padding-top: 5px;
    text-align: center;
}

.all_aboutus img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  vertical-align: bottom;
}

.all_aboutus div {
  box-sizing: bordr-box;
}

.all_aboutus {
  background-image: url("../images/new_background_image.2b5d2f7be64e.jpg");
  background-repeat: repeat;
  background-size:  2200px auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container_aboutus{
  width: 90%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 90px 0px 0px 0px;
}
.description_aboutus{
  margin: 0px 25px;
}
.bottom_images_aboutus{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

.bottom_images_aboutus .left_side_aboutus {
  width: 50%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
}

.bottom_images_aboutus .right_side_aboutus {
  width: 50%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
}


.content_aboutus {
  width: 100%;
  height: auto;
  padding: 5.5% 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.castle_aboutus {
  width: 28%;
  height: auto;
  margin: 0px auto 0px 10%;
  display: flex;
  align-items: flex-end;
}

.samurai_aboutus {
  width: 22%;
  height: auto;
  margin:  0px 11%;
  display: flex;
  align-items: flex-end;
}

.tourou_aboutus {
  width: 9%;
  height: auto;
  margin: 0px 2.6%;
  display: flex;
  align-items: flex-end;
}

.bamboo_aboutus {
  width: 24%;
  height: auto;
  margin: 0px 11% 0px 0px;
  display: flex;
  align-items: flex-end;
}

.top_icon_aboutus {
  width: 20%;
  height: auto;
}

.scroll_up {
  transition: 0.6s ease-in-out;
  transform: translateY(100px);
  opacity: 0;
}

.scroll_up.on {
  transform: translateY(0);
  opacity: 1.0;
}

/* 600px以下のサイズの場合のレイアウト
----------------------------------------------------*/
@media (max-width: 600px) {

 .all_aboutus {
    min-width: 375px;
    height: auto;
  }

  .container_aboutus{
    width: 90%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .content_aboutus {
    border-radius: 25px;
  }
  .all_aboutus h2{
    text-align: left;
  }

  .all_aboutus p {
    text-align: left
  }
}
/* ------about_us ここまで----- */
/* ------osusume ここから----- */
.osusume{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 420px;
}
.osusume_left{
    max-width: 50%;
    padding: 20px 0 20px 0;
    display: flex;
    justify-content: flex-end;
}

.osusume_left h1{
    color: #625651;
    font-weight: normal;
    font-size: 38px;
    letter-spacing: 0.2em;
}
.marker {
    display: inline-block;
    background-image: linear-gradient(to top, #EAE086 50%, transparent 50%);
    background-size: 100% 24px;
    background-position: center bottom;
    background-repeat: no-repeat;
  }
.osusume_left p{
    color: #625651;
    font-size: 1.2rem;
    line-height: 1.9;
    padding-top: 15px;
}

.osusume_right{
    max-width: 50%;
    display: flex;
    justify-content: flex-start;
}
.osusume_event_photo{
    width: 450px;
    border-radius: 4%;
    margin-left: 10%;
}
@media (max-width: 1155px){
    .osusume_event_photo{
        width: 380px;
}
    .osusume_left p{
        padding-top: 8px;
        line-height: 1.4;
}
}
@media (max-width: 950px){
    .osusume_left{
        padding: 20px 0 10px 0;
    }
    .osusume_event_photo{
        width: 360px;
        margin-left: 10px;
}
    .osusume_left h1{
        font-size: 30px;
    }

}
@media (max-width: 830px){
    .osusume_event_photo{
        width: 345px;
}
}
@media (max-width: 768px) {
    .osusume {
        flex-direction: column;
        height:100%;
    }
    .osusume_left{
        max-width: 80%;
        justify-content: center;
        padding:25px 0 8px 0;
    }
    .osusume_text{
        text-align:center;
    }
    .osusume_text p{
    text-align:left;
    }
    .osusume_right{
        max-width: 90%;
        justify-content: center;
}
    .osusume_event_photo{
        width: 450px;
        margin-left: 0px;
        margin-bottom:20px;
    }
}
@media (max-width: 550px) {
    .osusume_event_photo{
        width: 90%;
    }
    .osusume_left h1{
        letter-spacing: 0.1em;
    }
}
/* ------osusume ここまで----- */

/* ------受講者の声（一部） ここから----- */
.some_voices_container {
    background-image: url("../images/background_image.6c70166ad4b6.jpg");
    background-repeat: repeat;
    background-size:  2200px auto;
    height: auto;
}

.some_voices {
    text-align:center;
    align-items: center;
    justify-content: center;
    padding-top:90px;
    padding-bottom:90px;
}

.some_voices h1{
    color: #625651;
    font-weight: normal;
    font-size: 38px;
    letter-spacing: 0.2em;
}

.some_voices a{
    color: #625651;
    font-weight: normal;
    font-size: 2.4em;
    letter-spacing: 0.2em;
}


.some_voices_main{
    display: flex;
    align-items: center;
    justify-content: center;
    max-width:1000px;
    margin:auto;
    padding:40px 0px 30px 20px;
}

.some_voices_col{
    max-width:50%;
}

.voice_index_frame {
    display:inline-block;
    position: relative;
    border-radius:1rem;
    background-color: #fff;
    padding:25px 20px 20px 25px;
    margin:30px 20px 20px 30px;
    width: 80%;
    font-size: 1.2rem;
    text-align:left;
    justify-content: center;
}

.voice_index_frame p{
    margin:0;
    line-height:1.7;
}

@media screen and (max-width:768px) {
    .some_voices h1{
    font-size: 30px;
    }

    .some_voices_main {
    display: block;
    align-items: center;
    justify-content: center;
    max-width:90%;
    margin:auto;
    padding:20px 0px 30px 0px;
    }

    .some_voices_col{
    max-width:100%;
    }

    .voice_index_frame {
        padding:35px 20px 25px 25px;
        margin:50px 0px 10px 10px;
        width: 200px;
    }

    .some_voices a{
        font-size: 2.2em;
        letter-spacing: 0.1em;
    }
}

.person_index {
    position:absolute;
    border-radius: 50%;
    background-color: rgb(239, 223, 201);
    width: 80px;
    height: 80px;
    left: -55px;
    top: -45px;
    text-align: center;
}

.person_index:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    left: 67px;
    bottom: 3.2px;
    border-style: solid;
    border-color: transparent transparent transparent rgb(239, 223, 201);
    border-width: 6px 0 6px 12px;
    transform: rotate(45deg);
  }

.persons {
    width:70px;
    position: absolute;
    top: 2px;
    left: 3px;
}

.persons img{
    width:100%;
    height:auto;
}

.ninja {
    width:65px;
    position: absolute;
    top: -1px;
    left: 10px;
}

.ninja img{
    width:100%;
    height:auto;
}

/* ------受講者の声（一部） ここまで----- */


/* ------hagakureここから----- */
.windy_contine_hagakureexp{
    position: relative; 
    z-index: 10;
    /* max-height: 286px;  */
    min-height: 286px;
    max-width: 2200px;
}
.particles-js{
    position: absolute; 
    z-index: -1;
}
.hagakure-containe_hagakureexp {
    z-index: -1; 
    background-color:#F9CCD2;
    display: flex;
    /* max-height: 500px;  */
    min-height: 286px;
    padding: 40px 0px;
    position: relative;
}
.hagakure-containe_hagakureexp img {
    width: 100%;
}
.hagakure_samurai_1_hagakureexp  {
    position: absolute; 
    width: 320px;
    left:8%;
    /* margin-top:20px; */
    transform: rotateZ(-10deg);
}
.hagakure_topicon_hagakureexp {
    width: 120px;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
}
.hagakure-inner_hagakureexp h1 {
    font-size:2.4rem;
    text-align:center;
    margin-top: -30px;
    margin-bottom: 15px
}
.hagakure-inner_hagakureexp  {
    width: 100%;
    text-align:center;
    margin-left: auto;
    margin-right: auto;
}
.hagakure-summary_hagakureexp  {
    margin-top: px;
    margin-top: 20px;
    width: 400px;
    font-size:1.2rem;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
.hagakure_samurai_2_hagakureexp {
    position: absolute; 
    width: 320px;
    right:8%;
    top: auto;
    bottom: auto;
    /* margin-top:20px; */
    transform: rotateZ(15deg);
}
@media screen and (max-width: 1440px) {
    .hagakure_samurai_1_hagakureexp {
    position: absolute; 
    width: 270px;
    left:50px;
    margin-top:35px;
    transform: rotateZ(-10deg);
    }
    .hagakure-summary_hagakureexp  {
    margin-top: 12px;
    max-width: 40%;
    font-size:1.2rem;
    margin-left: auto;
    margin-right: auto;
    text-align:left;
    }
    .hagakure_samurai_2_hagakureexp {
    position: absolute; 
    width: 270px;
    right:50px;
    margin-top:35px;
    transform: rotateZ(20deg);
    }
}
@media screen and (max-width: 1028px) {
    .hagakure_samurai_1_hagakureexp {
    position: absolute; 
    width: 240px;
    margin-top:45px;
    transform: rotateZ(-10deg);
    }
    .hagakure-summary_hagakureexp  {
    margin-top: 12px;
    max-width: 40%;
    font-size:1.2rem;
    margin-left: auto;
    margin-right: auto;
    text-align:left;
    }
    .hagakure_samurai_2_hagakureexp {
    position: absolute; 
    width: 240px;
    margin-top:45px;
    transform: rotateZ(20deg);
    }
}


@media screen and (max-width: 800px) {
    .windy_contine_hagakureexp {
    position: relative; 
    min-width: 375px;
    height: auto;
    }
    .hagakure_samurai_1_hagakureexp {
    display: none;
    }
    .hagakure_topicon_hagakureexp {
    width: 20%;
    margin-top: 10px;
    }
    .hagakure-inner_hagakureexp {
    margin-top:12px;
    width: 100%;
    font-size: 0.8rem;
    }
    .hagakure-inner_hagakureexp h1 {
    margin-top:-25px;
    width: 100%;
    font-size: 2.3rem;
    }
    .hagakure-summary_hagakureexp {
    max-width: 72%;
    margin-top: 20px;
    font-size: 1.2rem;
    }
    .hagakure_samurai_2_hagakureexp {
    display: none;
    }
}
/* ------hagakureここまで---- */
/* ------SNSここから---- */

.container_sns_makimono{
  background-image: url("../images/new_background_image.2b5d2f7be64e.jpg");
  background-repeat: repeat;
  background-size:  2200px auto;
  width: 100%;
  min-width: 375px;
  height: 1100px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  display: flex;
}

.item_left_makimono{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
}
.samurai_think_img {
  position: absolute;
  transform: rotate( -20deg );
  right: 15%;
  top: 240px;
  width: auto;
  height: 230px;
}
.cloud_makimono {
  position: absolute;
  right: 100px;
  bottom: 150px;
  width: auto;
  height: 200px;
  margin: 0px 20% 0px 0px;
}

.forest_makimono {
  width: auto;
  height: 200px;
  margin: 0px 20% 0px 0px;
  position: absolute;
  bottom: -1px;
}
.background-image_makimono{
  background-color: white;
  border-radius: 10px;
}

.background-image_makimono-img_makimono{
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 160px;
}

.makimono_image_makimono{
  width: 500px;
  background-color: white;
  display: flex;
  justify-content: center;
  flex-direction: row;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}
.makimono_img{
    width: 78px;
    padding-top: 20px;
}
.sns_box_makimono h1{
    color: #625651;
    font-weight: normal;
    font-size: 38px;
    letter-spacing: 0.2em;
}
.sns_box_makimono{
    background-color: white;
    height: 600px;
    display:block;
    text-align:center;
    align-items: center;
    justify-content: center;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.fb-wrapper{
  display: flex;
  justify-content: center
}

.sns_part_makimono{
    margin-bottom:15px;
}

.facebook_narrow_makimono{
   display: none;
}
.hagakure_wrapper{
    text-align: center;
    margin-top: 55px;
}
.hagakure_wrapper h3{
    color: #625651;
    font-weight: normal;
    font-size: 38px;
    letter-spacing: 0.2em;
    text-align: center;
}
.hagakure_wrapper p{
    font-size: 14px;
    letter-spacing: 0.2em;
    line-height:30px;
    text-align: center;
}

@media(max-width:600px){
  .facebook_wide_makimono{
    display: none;
  }

  .facebook_narrow_makimono{
    width: 320px;
    display: initial;
  }
}

.item_right_makimono{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
  position: relative;
}
.samurai_inspi_img {
  position: absolute;
  transform: rotate( 10deg );
  left: 20%;
  top: 480px;
  width: auto;
  height: 230px;
}
.castle_makimono {
  width: auto;
  height: 200px;
  margin: 0px 0px 0px 20%;
  position: absolute;
  bottom: -1px;
}

  @media(max-width:1500px){
    .cloud_makimono {
      position: absolute;
      right: 20%;
      bottom: 100px;
      width: 50%;
      height: auto;
      margin: 0px 20% 0px 0px;
    }

    .forest_makimono {
      width: 50%;
      height: auto;
      margin: 0px 20% 0px 0px;
    }
    .castle_makimono {
      width: 50%;
      height: auto;
      margin: 0px 0px 0px 20%;
    }
}
    @media(max-width:1100px){
      .cloud_makimono {
        position: absolute;
        right: 20%;
        bottom: 100px;
        width: 150px;
        height: auto;
        margin: 0 auto;
      }

      .forest_makimono {
        width: 150px;
        height: auto;
        margin: 0 0 0 auto;
      }
      .castle_makimono {
        width: 150px;
        height: auto;
        margin: 0px 0px 0px 0px;
      }
      .samurai_think_img {
        position: absolute;
        right: 10%;
        top: 240px;
        width: auto;
        height: 16%;
      }
      .samurai_inspi_img {
        position: absolute;
        transform: rotate( 10deg );
        left: 12%;
        top: 480px;
          height: 16%;
      }
}
@media(max-width:840px){
  .container_sns_makimono {
    height: 1050px;
  }
  .background-image_makimono-img_makimono {
    padding-bottom: 80px;
  }
  .cloud_makimono {
    display: none;
  }
  .forest_makimono {
    display: none;
  }
  .castle_makimono {
    display: none;
  }
  .samurai_think_img {
    display: none;
  }
  .samurai_inspi_img {
    display: none;
  }
}
@media(max-width: 600px){
    .container_sns_makimono {
      height: 1150px;
    }
    .makimono_image_makimono{
      max-width: 375px;
    }
    .hagakure_wrapper h3{
      max-width: 90%;
    }
      .hagakure_wrapper p{
      font-size: 1.2rem;
      margin: 0 auto;
      max-width: 90%;
      text-align: left;
  }

}
/* ------SNSここまで---- */
/* ------New dojo ここから----- */
.dojo{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 420px;
}
.dojo_right{
    max-width: 50%;
    padding: 20px 0 20px 0;
    display: flex;
    justify-content: flex-end;
}

.dojo_right h1{
    color: #625651;
    font-weight: normal;
    font-size: 38px;
    letter-spacing: 0.2em;
}
.marker {
    display: inline-block;
    background-image: linear-gradient(to top, #EAE086 50%, transparent 50%);
    background-size: 100% 24px;
    background-position: center bottom;
    background-repeat: no-repeat;
  }
.dojo_right p{
    color: #625651;
    font-size: 1.2rem;
    line-height: 1.9;
    padding-top: 15px;
}

.dojo_left{
    max-width: 50%;
    display: flex;
    justify-content: flex-start;
}
.dojo_image{
    width: 450px;
    border-radius: 4%;
    margin-right: 10%;
}
@media (max-width: 1155px){
    .dojo_image{
        width: 380px;
}
    .dojo_right p{
        padding-top: 8px;
        line-height: 1.4;
}
}
@media (max-width: 950px){
    .dojo_right{
        padding: 20px 0 10px 0;
    }
    .dojo_image{
        width: 360px;
        margin-right: 10px;
}
    .dojo_right h1{
        font-size: 30px;
    }
    .dojo_text{
        margin-left:0px;
    }
}
@media (max-width: 830px){
    .dojo_image{
        width: 345px;
}
}
@media (max-width: 768px) {
    .dojo {
        flex-direction: column-reverse;
        height:100%;
    }
    .dojo_right{
        max-width: 80%;
        justify-content: center;
        padding:25px 0 8px 0;
    }
    .dojo_text{
        text-align: center;
　　 }
    .dojo_text p{
        text-align: left;
　　 }
    .dojo_left{
        max-width: 90%;
        justify-content: center;
}
    .dojo_image{
        width: 450px;
        margin-right: 0px;
        margin-bottom:20px;
    }
}
@media (max-width: 550px) {
    .dojo_image{
        width: 90%;
    }
}
/* ------New dojo ここまで----- */

/* 申込フォームボタンここから */
.form_button {
  position: fixed;
  bottom: 30px;
  right: 20px;
  opacity: 0.70 ;
  }
.form_button img {
  width: 120px;
  height: auto;
  }

/* ボタンの基本スタイル */
.form_button {
  opacity: 0; /* 非表示 */
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
/* スクロールに応じて表示 */
.form_button.active {
  opacity: 1;
  visibility: visible;
}
/* フッターに到達した時の位置調整 */
.form_button.stop {
  opacity: 0; /* 非表示 */
  visibility: hidden;
}
/* 申込フォームボタンここまで */

/* -----dojo ここから----- */
/*
.dojo h1 {
  font-size: 2.4rem;
  font-weight: normal;
}

.dojo p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin: 1.2rem 0px;
}

.dojo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  vertical-align: bottom;
}

.dojo div {
  box-sizing: border-box;
}

.dojo {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container_dojo{
  width: 90%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom:40px;
}


.content_dojo {
  background-color: #ffffff;
  width: 100%;
  height: auto;
  margin-top:90px;
  padding: 5.5% 10%;
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.top_icon_dojo {
  width: 20%;
  height: auto;
}
.dojo_image{
    margin-top:20px;
}
.oVice_image{
    width: 400px;
    border-radius: 10px;
}
*/
/* 600px以下のサイズの場合のレイアウト
----------------------------------------------------*/
/*
@media (max-width: 600px) {

 .dojo {
    min-width: 375px;
    height: auto;
  }

  .container_dojo{
    width: 90%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 5% 5%;
  }

  .content_dojo {
    border-radius: 25px;
    margin-top:20px;
  }

}
*/
/* ------dojo ここまで----- */

.dojo_makimono_group{
  background-image: url("../images/background_image.6c70166ad4b6.jpg");
  background-repeat: repeat;
  background-size:  2200px auto;
}

/* ----- 参加者の声 ----- */

.voice-green{
  height:300px;
  background-image: url("../images/voice/haikei_green.573abc265a97.png");
  background-repeat: repeat;
  background-size:  1100px auto;
}
.voice-pink{
  height:300px;
  background-image: url("../images/voice/haikei_pink.e893ef5f5d15.png");
  background-repeat: repeat;
  background-size:  1100px auto;
}

.fukidasi-img{
  width:450px;
  margin:20px 0 0 0;
}
.fukidasi-y-img{
  width:450px;
  margin:30px 0 0 0;
}
.fukidasi-s-img{
  display: none;
}
.fukidasikumo-img{
  width:470px;
  margin:18px 0 5px 0;
}
.voice_box{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 840px;
  margin: 0 auto;
}

.voice-container {
  position: relative;
}

.voice-text {
  position: absolute;
  top: 16%;
  left: 10%;
  width: 400px;
}
.voice-text-kumo {
  position: absolute;
  top: 23%;
  left: 15%;
  width: 330px;
}
.voice-top{
  color:black;
  font-size:28px;
}
.voice-top-main{
  color:black;
  font-size:20px;
  padding-right:5px;
  line-height: 1.1;
}
.voice-bottom{
  color:black;
  font-size:28px;
  padding:0 5px 0 15px;
  line-height: 1.3;
}
.voice-main{
  font-size:18px;
}
.voice-personal{
  font-size:16px;
}

.voice-box-chara {
  width: 300px;
  height: 300px;
  /*border: 1px solid black;
  box-sizing: border-box;*/
  display: flex;
  align-items: flex-end;
}
.voice_chara_img{
  height:280px;
}


.voice-box-message{
  width: 500px;
  height: 300px;
  /*border: 1px solid black;
  box-sizing: border-box;*/
}



@media(max-width:819px){
.voice-green{
  height:630px;
  background-image: url("../images/voice/haikei_green.573abc265a97.png");
  background-repeat: repeat;
  background-size:  1100px auto;
}
.voice-pink{
  height:630px;
  background-image: url("../images/voice/haikei_pink.e893ef5f5d15.png");
  background-repeat: repeat;
  background-size:  1100px auto;
}


.fukidasi-img{
  display: none;
}
.fukidasi-y-img{
  display: none;
}
.fukidasi-s-img{
  display:block;
  width:300px;
  margin:0 auto;
}
.fukidasikumo-img{
  display: none;
}

.voice-box-chara {
  width: 450px;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.voice-box-message{
  width: 380px;
  height: 350px;
    display: flex;
  justify-content: center;
  /*border: 1px solid black;
  box-sizing: border-box;*/
}

.voice-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.voice-top-main{
  padding-right:0px;
  line-height: 1.3;
}

.voice-bottom{
  padding:0 0 0 0;
}

.voice-text {
  max-width: 100%;
  width:280px;
  top: 12%;
  left: 40px;
  padding:0 0 0 23px;
}
.voice-text-kumo {
  position: absolute;
  top: 12%;
  left: 40px;
  max-width: 100%;
  width:280px;
  padding:0 0 0 23px;
}
.voice-main{
  font-size:20px;
}
.voice-personal{
  font-size:18px;
}

.voice-box-upper {
  order: 1; /* Box 1の順序を設定 */
}

.voice-box-lower {
  order: 2; /* Box 2の順序を設定 */
}
}

@media(max-width:400px){
.voice-text {
  padding:0 0 0 22px;
}
.voice-text-kumo {
  padding:0 0 0 22px;
}
}
@media(max-width:390px){
.voice-text {
  padding:0 0 0 15px;
}
.voice-text-kumo {
  padding:0 0 0 15px;
}
}
@media(max-width:380px){
.voice-text {
  padding:0 0 0 12px;
}
.voice-text-kumo {
  padding:0 0 0 12px;
}
}

/* ----- 参加者の声ここまで ----- */

/* ----------雪を降らせる----------- */
.snow-container {
  position: relative;
  width: 100%; /* ビューポートの幅に合わせる */
  height: 100%; /* ビューポートの高さに合わせる */
  overflow: hidden;
  background-color: transparent; /* 背景を透明に */
  z-index: 0; /* 他のコンテンツより上に配置 */
  pointer-events: none; /* コンテンツのクリックを阻害しないように */
}

.snow {
  background-color: #fff; /* 雪の色 */
  border-radius: 50%; /* 雪を丸くする */
  position: absolute;
  animation: animate-snow 20s linear;
}
@keyframes animate-snow {
  0% {
    opacity: 0;
    top: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    top: 300vh;
  }
}
/* ----------雪を降らせるここまで----------- */
/* ここで最初の画面 */
.first-screen img.first-screen-icon-makimono {
  position: absolute;
  /* left: 19%;
  top: 4%; */
  margin-left: -90px;
  margin-bottom: 30px;
  width: 1200px;  /* 巻物を画面全体に広げる */
  z-index: 1;  /* 巻物を最背面に */
}
.first-screen img.first-screen-icon-logo {
  margin-top: 12px;
  margin-left: 50px;
  width: 80px;  /* ロゴのサイズを適切に調整 */
  transform: translate(-50%, -50%);
  z-index: 2;  /* ロゴを前面に */
}
.first-screen h3, .first-screen p {
  width: 100%;
  margin-top: -20px;
  margin-left: -30px;
  z-index: 2;  /* テキストを前面に */
}
.first-screen h3 {
  font-family: "Hachi Maru Pop";
  font-size: 2.8rem;
  margin-bottom: 20px;
  letter-spacing: 0.3em;  /* 文字間を広くする */
  z-index: 2;  /* ロゴを前面に */
}
.first-screen p {
  font-family: "Zen Maru Gothic";
  font-size: 1.5rem;
  line-height: 0.4;  /* 行間を調整 */
  margin-top: 0px;   /* 上マージン */
  letter-spacing: -0.07em;  /* 文字間を狭くする */
  z-index: 2;
}
@media (max-width: 1200px) {
  .first-screen img.first-screen-icon-makimono {
    width: 1000px; /* 画面サイズに合わせて巻物のサイズを調整 */
    margin-left: -40px; /* 位置を調整 */
  }
  .first-screen img.first-screen-icon-logo {
    width: 70px; /* ロゴのサイズを小さく調整 */
    margin-left: 70px;
  }
  .first-screen h3 {
    font-size: 2.4rem; /* フォントサイズを小さく調整 */
    margin-left: 30px;
  }
  .first-screen p {
    font-size: 1.2rem; /* フォントサイズを小さく調整 */
    margin-left: 30px;
  }
}
@media (max-width: 440px) {
  .first-screen img.first-screen-icon-makimono {
    width: 410px;
    height: 560px; /* 画像の高さを指定 */
    margin-left: -30px; /* 位置を調整 */
    margin-bottom: 5px; /* 位置を調整 */
  }
  .first-screen img.first-screen-icon-logo {
    width: 60px; /* ロゴのサイズをさらに小さく */
    margin-left: 60px;
    margin-bottom: 10px;
  }
  .first-screen h3 {
    letter-spacing: 0.2em;  /* 文字間を広くする */
    font-size: 1.5rem; /* フォントサイズを大きく */
    margin-bottom: 10px;
    margin-left: -0.5px;
    line-height: 1.0; /* 行の高さを調整して改行しやすくする */
    max-width: 58%; /* テキストの幅を制限して改行を促す */
  }
  .first-screen p {
    font-size: 1.0rem; /* フォントサイズを大きく */
    margin-left: -0.5px;
    line-height: 1.5; /* 行の高さを調整して改行しやすくする */
    max-width: 66%; /* テキストの幅を制限して改行を促す */
  }
}
.first-screen {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  text-align: center;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  animation: sliceScreen 1s ease-out forwards;
}
/* static/css/styles.css */
@keyframes pageTurnAnimation {
  0% {
    transform: rotateY(0deg);
    transform-origin: 0% 50%;
    opacity: 1;
  }
  100% {
    transform: rotateY(-180deg);
    transform-origin: 0% 50%;
    opacity: 0;
  }
}
.first-screen.turn-page {
  animation: pageTurnAnimation 2.0s forwards;
}

/*----- 入塾の流れ -----*/
.nyujuku {
    padding-top: 20px;
    background-color: #fff;
}
.container_nyujuku {
    margin: 0 auto;
    width: clamp(300px, 80vw, 1000px);
}
.nyujuku_ttl {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
    color: #625651;
    font-weight: normal;
    font-size: 30px;
    letter-spacing: 0.2em;
    background-image: linear-gradient(to top, #EAE086 50%, transparent 50%);
    background-size: 80% 24px;
    background-position: center bottom;
    background-repeat: no-repeat;
}
.nyujuku_flow {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 30px calc(0.625rem + ((1vw - 3px) * 4));
}
.flow_contents {
    background: #F4ECE9;
    border: solid 2px #625651;
    border-radius: 15px;
    position: relative;
}
.contents_num{
    position: absolute;
    top: -15px;
    left: -15px;
    width: 35px;
    height: 35px;
    background: #625651;
    border-radius: 30px;
    color: #FFF;
    font-size: 1.4rem;
    display: grid;
    place-items: center;
}
.flow_contents > dt {
    margin-top: 20px;
    font-family: "Mochiy Pop One", sans-serif;
    font-size: calc(1.2rem + ((1vw - 3px) * 1.6));
    text-align: center;
}
.flow_contents > dd {
    padding: 10px;
    /*font-size: calc(1rem + ((1vw - 3px) * 1.8));*/
    font-size: 1.2rem;
}
.contents_img {
    display: flex;
    justify-content: center;
    align-items: center;
}
.contents_img > img {
    max-width: 80px;
    height: auto;
    object-fit: cover;
}
@media (width > 800px){
    .nyujuku_ttl {
        font-size: 30px;
        background-size: 30% 24px;
    }
    .nyujuku_flow {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
    }
    .flow_contents > dt {
        font-size: 22px;
    }
}
/*----- 入塾の流れ ここまで -----*/
/* 最初の画面ここまで */

/*----------------------------------------------------
 利用規約ページ
----------------------------------------------------*/
/*----- 背景 -----*/
.term {
    background-image: url("../images/bg/top1.f929bd31cbe0.png");
    background-size: 100%;
    background-repeat: repeat-y;
}
/*----- 背景の余白 -----*/
.term_use {
    padding: 1em;
}
/*----- 白枠内部の設定 -----*/
.term_use_container {
    margin: 2em auto;
    padding: 1em 20px 1.6em;
    width: clamp(300px, 75vw, 1000px);
    background-color: rgba(255,255,255, 0.85);
    border-radius: 20px;
    font-family: "M PLUS 1p", 'メイリオ', 'ヒラギノ角ゴシック', 'MSゴシック',sans-serif;
}
/*----- メインタイトル -----*/
.term_main_ttl {
    margin-top: 1em;
    padding-bottom: 1em;
    /*padding: .5em;*/
    font-size: clamp(17px, 3.2vw, 36px);
    font-weight: 600;
    color: #4C4C4C;
    letter-spacing: 0.3em;
    text-align: center;
}
/*----- 最初のコンテンツ以外の設定 -----*/
.term_contents:not(:first-of-type) {
    margin-top: 2em;
}
/*----- コンテンツ内部の設定 -----*/
.term_contents > * {
    color: #625651;
    line-height: 1.6;
}
/*----- コンテンツのタイトル -----*/
.term_contents_ttl {
    border: solid 2px #625651;
    padding: 3px 8px;
    font-size: clamp(16px, 1.6vw, 18px);
    font-weight: 600;
    position: relative;
}
.term_contents_ttl::after {
    position: absolute;
    content: "";
    inset: 3px -5px -5px 3px;
    background: rgba(241,199,202,0.3);
}

.term_contents_ttl + * {
    margin-top: 1.2em;
}

.term_contents > p,
.term_contents > ul > li {
    /* margin: 0; */
    margin-bottom: 0;
    font-size: clamp(14px, 1.5vw, 16px);
}
.term_contents > ul > li::marker {
    content: "・"
}
.term_contents > ul {
    padding-left: 1rem;
}
/*----- 画面サイズが600px以上のとき -----*/
@media screen and (min-width:600px) {
    /*----- 白枠内部の余白を変更 -----*/
    .term_use_container {
        margin: 5vh auto;
        padding: 1em 60px 2.8em;
    }

    .term_main_ttl {
        padding: 1em;
    }
    .term_contents_ttl {
        display: inline-block;
    }
}
/*----------------------------------------------------
 利用規約ページ　ここまで
----------------------------------------------------*/