/* Custom properties/variables  */

/* production css */

/* form,
input,
textarea {
    -moz-user-select: all !important;
    -webkit-user-select: all !important;
    -ms-user-select: all !important;
    user-select: all !important;
    -webkit-user-select: text !important;
} */

* {
    /* -moz-user-select: none; */
    /* -webkit-user-select: none;
    -ms-user-select: none; */
    /* user-select: none;
    -ms-overflow-style: none;
    scrollbar-width: none; */
}

*::-webkit-scrollbar {
    /* chrome hide scrollbar bar */
    display: none;
}


:root {
  --main-black: #000;
  --main-background:rgba(13, 61, 110, 0.2);
  --main-hover:rgba(222, 228, 235, 1);

}

body {
  font-family: Arial, Meiryo, sans-serif;
}

#page-wraper {
    /* background: url(../images/page-bg.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%; */
}


/* Basic */

body {
    overflow-x: hidden;
    margin: 0;
}

input,
select,
textarea {
    outline: none;
}

a{
  color: var(--main-black);
}
a,
a:hover {
    text-decoration: none;
}

p {
    font-size: 14px;
    line-height: 24px;
    color: #000;
}

/* h4 {
    font-size: 26px;
    font-weight: 700;
    color: #000;
    letter-spacing: 0.25px;
} */

img {
    width: 100%;
    overflow: hidden;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

ul li {
    display: inline-block;
}

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

.clearfix {
    zoom: 1;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.container {
    margin: 0 auto;
}
.relative{
  position: relative;
}
.row_bt_l{
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}
.row_t_l{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}
.row_c_l{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
.row_wrap_c{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.row_center{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.row_between{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.col_center{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.menu::-webkit-scrollbar {
    display: none;
}

.menu {
    /* left: 10%; */
    right: 0;
  -webkit-transition: -webkit-transform 233ms cubic-bezier(0, 0, 0.21, 1);
  -webkit-overflow-scrolling: touch;
  background-color: rgba(239, 242, 246);
  box-sizing: border-box;
  -webkit-box-shadow: -3px 0px 5px 0px rgba(0, 0, 0, 0.2);
box-shadow: -3px 0px 5px 0px rgba(0, 0, 0, 0.2);

  height: 100vh;
  max-height: 100vh !important;
  max-width: 40vw !important;
  min-width: 45px !important;
  outline: none;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 0;
  position: fixed !important;
  top: calc(0px);
  width: 20%;
  will-change: transform;
  z-index: 9999 !important;
}

.menu-toggle {
  color: #000;
  cursor: pointer;
  font-size: 25px;
  position: fixed;
  right: 25px;
  top: 25px;
}

#menu-toggle {
    z-index: 999;
    cursor: pointer;
    position: fixed;
    top: 0;
    right: 0;
    /* left: 0; */
    color: #fff;
    background-color: #000;
    width: 60px;
    height: 60px;
    text-align: center;
    display: inline-block;
    line-height: 60px;
}

.menu-close {
  cursor: pointer;
}

#menu-close {
    cursor: pointer;
    text-align: right;
    color: #fff;
    background-color: #000;
    width: 100%;
    height: 60px;
    text-align: center;
    display: inline-block;
    line-height: 60px;
}

.menu .navigation {
  padding-left: 0;
  font-weight: 100;
  padding-top: 60px;
}
.navigation .content{
 display: none;
 padding-left: 0;
}

/* .active, .collapsible:hover {
 opacity: .5;
 background: #fff;
} */
.dl_icon{
  margin-right: 2rem;
  font-size: 28px;
}

.menu .navigation .collaps {
  padding: .5rem 0 .5rem 2.2rem;
  list-style-type: none;
}
.menu .collapsible img{
  width: auto;
 padding-right: 0;
 margin-right: 2rem;
 border: 1px solid #555;
}

.menu .collaps .content li{
  padding-left: 10px;
  width: 100%;
  background: #fff;
  margin-top: 1px;
}
.hover_none:hover{
  background:none!important;
}
.menu .collaps:hover {
 background: var(--main-background);
}
.menu .collaps .content li:hover {
  background: var(--main-background);
}
.menu .collaps .icon{
 margin-right: 1.5rem;
 width: 40px;
 height: 40px;
 border-radius: 50%;
 border: 1px solid #000;
}
.menu .collaps .icon:hover{
 background: #85888b;
}
.menu .collaps .icon i{
 font-size: 25px;
}


/* nav */

.nav {
  width: 100%;
  /* height: 80px; */
  background: var(--main-background);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
  z-index: 10;
}
.full_div .content{
  width: 60%;
  left: 10%;
  right: 35%;
  position: relative;

}
.nav_logo{
  background: #fff;
}
.page_title h2{
  font-size: 25px;
  margin: 0;
  text-align: center;
}
.nav-list {
  display: flex;
}


@media (max-width: 28.75em) {
  .nav {
    justify-content: center;
  }

}

.nav-list a {
  display: block;
  font-size: 20px;
  padding: 7px 20px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.30);
}

.nav-list a:hover {
  background: #fff
  /* background: var(--main-hover); */
}

.bg_img{
  background: url(../assets/images/slide4.jpg);
  margin: 0;
  padding: 0;
  height: 50vh;
  background-size: cover!important;
  background-position: top;
  background-repeat: no-repeat!important;
}


/* Section */

.section {
    color: #000;
    width: 60%;
    /* right: 10%;
    left: 35%; */
    left: 10%;
    right: 35%;
    position: relative;
    /* min-height: 100vh; */
    padding-bottom: 80px;
    border-bottom: 3px solid rgba(250, 250, 250, 0.25);
}

.section-heading {
    text-align: center;
    padding: 80px 45px;
}

.section-heading h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    color: #000;
}

.section-heading .line-dec {
    width: 60px;
    height: 3px;
    background-color: #a43f49;
    margin: 10px auto;
}

.section-heading span {
    margin-top: 5px;
    font-size: 16px;
    color: #000;
    letter-spacing: 0.5px;
}

.title {
  background: url(../assets/images/txtBar.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
  /* width: 1100px; */
  height: 42px;
  font-size: 21px;
  color: #fff;
  line-height: 42px;
  margin: 4rem 0;
}

/******* about ******/

.table{
  overflow: auto;
}
table{
  width: 100%;
  min-width: 200px;
  text-align: center;
}
table th{
  background: #7dad2f;
  padding: 10px;
  color: #fff;
  font-size: 12px;
}
table td{
  background: #edeeef;
  font-size: 12px;
}


/* ******* timestudy ***** */

.timeline .timeline-content {
  position: relative;
  margin-bottom: 2.5rem;
  width: 35%;
  min-width: 250px;
}
.timeline .timeline-content .timeline-body {
  background: #dbe6f3;
  border-radius: 30px;
  padding: 20px 20px 15px;
  box-shadow: 1px 3px 9px rgba(0, 0, 0, .1);
}
.timeline .timeline-content .timeline-body .timeline-title {
  margin-bottom: 1.4rem;
}
.timeline .timeline-content .timeline-body .timeline-title .badge {
  background: #4f537b;
  padding: 4px 8px;
  border-radius: 3px;
  font-weight: bold;
}
.timeline-body p{
  margin-top: 0;
}
.timeline .badge{
  color: #fff;
}
.timeline .timeline-content{
  margin: 1rem 3%;
}
.timeline .timeline-content.primary .badge{
  background: #eec222 !important;
}
.timeline .timeline-content.info .badge{
  background: #fb751a !important;
}


/***** list_cont *****/

.list_cont{
  padding-top: 2rem;
}
.list_cont .content{
  padding: 15px 25px;
  /* border: 1px solid #555; */
  border-radius: 5px;
  box-shadow: 1px 3px 9px rgba(0, 0, 0, .1);
  margin-bottom: 6rem;
  margin-left: 2rem;
}
.list_cont .content .number{
  position: absolute;
  top: -2rem;
  left: -2rem;
  height: 50px;
  width: 70px;
  color: #fff;
  border-radius: 20px 20px 5px 20px;
  background: #7dad2f;
}

/* ****** tuition ****** */
.tuition .box{
  margin-bottom: 5rem;
}
.tuition .box .content{
  width: 30%;
  min-width: 140px;
  border-radius: 7px;
  border: 5px double #fff;
}
.tuition .box .content:first-child{
  margin-right: 4rem;
  background: #77c3da;
}
.tuition .box .content:last-child{
  margin-right: 4rem;
  background: #e0a3c2;
}
.tuition .box .content h3{
  /* position: relative; */
  color: #fff;
  padding: 0 25px 10px 25px;
  margin-bottom: 10px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #fff;
}

.tuition .box .content p{
  margin-top: 0px;
  font-size: 20px;
}


/* .visa{
  display: table-cell;
  height: 100%;
  width: 100%;
}
.visa .content{
  margin: auto;
} */
.visa h2{
  font-weight: 500px;
  padding: 0 20px;
}
.visa h3{
  font-weight: 500;
}
.circle{
  width: 125px;
  height: 125px;
  border-radius: 50%;
  border: 5px double #fec2a3;

  /* background: #87bbfe; */
}
.visa .next{
  margin: 3rem 0 2.5rem 3rem;
}
.box_price{
  width: auto;
  border-radius: 7px;
  border: 5px double #fff;
  background: #f18851;
  margin-top: 2rem;
}
.box_price h3{
  color: #fff;
  padding: 20px 40px;
  margin: 0;
  font-weight: 500;
}
.list_animation ul{
  width: 100%;
  margin-top: 25px;
  padding-left: 0;
  /* margin-left: -150px; */
}
.list_animation li{
  position: relative;
  display: block;
  border-radius: 20px;
  border: 1px solid hotpink;
  margin-bottom: 5px;
  padding: 10px;
  text-align: center;
  text-transform: uppercase;
  animation: fadeIn 0.5s linear;
  animation-fill-mode: both;
}

.list_animation li:nth-child(1) {
  animation-delay: 0.25s;
}
.list_animation li:nth-child(2) {
  animation-delay: 0.25s;
}
.list_animation li:nth-child(3) {
  animation-delay: 0.5s;
}
.list_animation li:nth-child(4) {
  animation-delay: 0.5s;
}
.list_animation li:nth-child(5) {
  animation-delay: 0.75s;
}
.list_animation li:nth-child(6) {
  animation-delay: 0.75s;
}
.list_animation li:nth-child(7) {
  animation-delay: 1.25s;
}
.list_animation li:nth-child(8) {
  animation-delay: 1.25s;
}
.list_animation li:nth-child(9) {
  animation-delay: 1.5s;
}
.list_animation .next {
  height: 60px;
  border: 0!important;
  margin-left: 45px;
}
.arrow {
    margin: 0 auto;
    padding-top: 15px;
    position: relative;
    /* height: 30px; */
}

.arrow:before {
    width: 50px; /* 四角形の幅 */
    height: 20px; /* 四角形の高さ */
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#FFFFFF), to(#FFC300));
    background-image: -webkit-linear-gradient(#FFFFFF, #FFC300);
    background-image: linear-gradient(#FFFFFF, #FFC300);
    content: "";
    position: absolute;
    top: 0;
    left: 50%; /* 中央寄せに使用 */
    margin-left: -50px; /* 中央寄せに使用 */
}

.arrow:after {
    border-top: 25px solid #FFC300; /* 角度を緩やかなものに指定 */
    border-left: 35px solid transparent; /* 左のボーダーを透過に指定 */
    border-right: 35px solid transparent; /*右のボーダーを透過に指定*/
    content: "";
    position: absolute;
    top: 20px; /* 四角形の高さと同じ物を指定 */
    left: 50%; /* 中央寄せに使用 */
    margin-left: -60px; /* 中央寄せに使用 */

}

.list_animation li h3{
  margin: 5px 0;
  font-weight: 500;
}
.list_animation li p{
  margin: 5px 0;
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
    top: 100px;
 }
  75% {
    opacity: 0.5;
    top: 0px;
 }
  100% {
    opacity: 1;
 }
}

.access_map {
    /* width: 100%; */
    text-align: center;
}
.gmap {
    align-items: center;
    width: 100%;
}
.container_section_b {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
  margin: 0 0 4rem 0;
  /* padding: 0 0 4rem 0; */
}

.jibc_tt{
  color: black;
  font-size: 3rem;
}

.logo_foot {
  display: flex;
  flex-direction:column;
  justify-content: center;
  align-content: center;
  object-fit: cover;
  align-items: center;
  border-top: 1px solid rgba(204, 204, 204, 0.61);
}
.logo_foot .access{
  padding-top: 5rem;
}
.logo_foot .access a:hover{
  opacity: .5;
}
.logo_foot .mb_footer{
  padding-bottom: 3rem;
}
.writing {
    display: flex;
    /* transform: translate(0px, -26px); */
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    line-height: 1.5;
    padding-right: 10px;
    padding-left: 10px;
}



.lazyload {
    background: #f7f7f7;
}

.lazyloading {
    background: #f7f7f7 url(//afarkas.github.io/lazysizes/assets/imgs/loader.gif) no-repeat center;
    min-height: 60px;
}

figure.snip1321 {
  overflow: hidden;
  text-align: center;
  -webkit-perspective: 50em;
  perspective: 50em;
}
figure.snip1321 * {
  -webkit-box-sizing: padding-box;
  box-sizing: padding-box;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
figure.snip1321 figcaption {
  top: 50%;
  left: 20px;
  right: 20px;
  position: absolute;
  opacity: 0;
  z-index: 1;
}
figure.snip1321 h4 {
    margin-top: 15px;
  margin-bottom: 5px;
  color: #232323;
}
figure.snip1321 span {
    font-size: 14px;
    font-style: italic;
    display: block;
    color: #7a7a7a;
}
figure.snip1321 i {
  position: relative!important;
  font-size: 18px;
  background-color: #a43f49;
  width: 40px;
  height: 40px;
  display: inline-block;
  text-align: center;
  line-height: 40px;
  border-radius: 5px;
  color: #000;
}
figure.snip1321:after {
  background-color: #ffffff;
  position: absolute;
  content: "";
  display: block;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  -webkit-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  opacity: 0;
}
figure.snip1321 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
}
figure.snip1321:hover figcaption,
figure.snip1321.hover figcaption {
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 1;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
figure.snip1321:hover:after,
figure.snip1321.hover:after {
  -webkit-transform: rotateX(0);
  transform: rotateX(0);
  opacity: 0.9;
}


@media screen and (max-width: 1680px) {
    .menu {
        /* left: 5%; */
        right: 0;
    }

    .section {
        color: #000;
        width: 70%;
        left: 5%;
        right: 30%;
        /* right: 5%;
        left: 30%; */
    }
    .full_div .content{
      width: 70%;
      left: 5%;
      right: 30%;
    }
}

@media screen and (max-width: 1680px) and (min-width: 846px) {

    .menu .image {
        margin-top: 60px;
    }
}

@media screen and (max-width: 1280px) {
    .menu {
        /* left: 0%; */
        right: 0%;
    }

    .right-image-post h4,
    .left-image-post h4 {
        margin-top: 0px;
    }

    .right-image-post p,
    .left-image-post p {
        margin-top: 15px;
    }

    .right-image-post .white-button,
    .left-image-post .white-button {
        margin-top: 25px;
    }

}

.menu .container {
    padding-left: 0;
    padding-right: 0;
}

@media screen and (max-width: 1280px) and (min-width: 846px) {
    .menu {
        width: 20%;
    }
}

#menu-toggle,
#menu-close {
    display: none;
}

@media screen and (max-width: 845px) {
    #menu-toggle,
    #menu-close {
        display: inline-block;
    }

    .menu {
        width: 320px;
        -webkit-transform: translateX(100%) !important;
        transform: translateX(100%) !important;
        transition: -webkit-transform 233ms cubic-bezier(0, 0, 0.21, 1);
        transition: transform 233ms cubic-bezier(0, 0, 0.21, 1);
        transition: transform 233ms cubic-bezier(0, 0, 0.21, 1), -webkit-transform 233ms cubic-bezier(0, 0, 0.21, 1);
    }

    /* .menu .image {
        margin-top: 40px;
    } */

    .menu .image img {
        width: 120px;
        height: 120px;
    }

    .menu .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .menu.open {
        display: inline-block;
        -webkit-transform: translateX(0) !important;
                transform: translateX(0) !important;
    }

    .responsive-nav {
        display: inline-block;
    }
    .section, .full_div .content {
        width: 94%;
        right: 3%;
        left: 3%;
    }
    .nav{
      margin-top: -18px;
    }
    .nav .content{
      height: 60px;
    }
    .nav .nav_logo img{
      height: 60px;
    }
    .menu .navigation{
      padding-top: 20px;
    }
    .page_title h2{
      font-size: 16px;
      line-height: 25px;
    }
    .nav-list {
      margin-right: 60px;
    }
    .bg_img{
      height: 30vh;
    }
    .list_cont .content{
      margin-bottom: 4rem;
      margin-right: 2rem;
    }
}

@media (max-width: 768px) {
  .circle{
    width: 90px;
    height: 90px;
  }
  .visa h2{
    padding: 0 8px;
  }
  .circle h3{
    font-size: 13px;
  }
  .nav-list a{
    font-size: 15px;
    padding: 7px 10px;
  }
  .page_title h2{
    margin-left: 1rem;
  }
  .tuition .box .content:first-child{
    margin-right: 1rem;
  }
  .tuition .box .content:last-child{
    margin-right: 0;
  }
}
@media (max-width: 540px) {
  .menu .navigation .collaps{
    padding-left: 0;
  }
  .nav .row_between{
    justify-content: flex-start!important;
  }
  .nav .nav_logo img{
    height: 40px;
  }
  .circle{
    width: 50px;
    height: 50px;
    border: 3px double #fec2a3;
  }
  .circle h3{
    font-size: 11px;
    line-height: 14px;
  }
  .visa h2{
    padding: 0 3px;
    font-size: 18px;
  }
  .pc_none{
    display: block!important;
    text-align: center;
  }
  .phone_none{
    display: none;
  }
  .bg_img{
    height: 20vh;
  }
  .title{
    font-size: 20px;
  }
  .tuition .box .content h3{
    padding: 0 10px 10px 10px;
    margin-top: 10px;
  }
  .tuition .box .content p{
    margin-bottom: 10px;
  }
  .tuition .box .content:first-child{
    margin-right: 5px;
  }
  .visa .next{
    margin: 1rem 0 0.5rem 3rem;
  }

}

.pc_none{
  display: none;
}

@media (max-width: 425px) {
  .menu .collapsible img, .menu .collaps .icon{
    margin-right: 10px;
  }
  .dl_icon{
    margin-right: 1rem;
  }
  .menu .collaps .icon{
    width: 35px;
    height: 35px;
  }
  .r_text{
    font-size: 12px;
  }
}
@media (max-width: 380px) {
  .page_title h2{
    font-size: 12px;
    line-height: 18px;
  }
}
