/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "heisei-maru-gothic-std", sans-serif;
  font-family: "source-han-sans-japanese", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #444444;
  background-color: #ecf7fb;
  background-color: #fff;
  font-feature-settings: "palt";
  font-size:clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.6;
  letter-spacing: -.01rem;
  animation: fadeIn 1s ease-in 0s 1 normal;
}
@keyframes fadeIn {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}
a {
  text-decoration: none;
  color: #3355FF;
}

a:hover {
  color: #3c6dff;
  text-decoration: none;
}
img{max-width: 100%;}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
  color: #222;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  letter-spacing: .1rem;
}
.t-orange{
  color: #ff8600;
}
.t-blue{
color:#084378;
color: #025bab;
}
.t-green{
  color: #23abc7;
}
.t-shadow-w {
  text-shadow: 1px 1px 1px rgba(255,255,255,.8), -1px -1px 1px rgba(255,255,255,.8), -1px 1px 1px rgba(255,255,255,.8), 1px -1px 1px rgba(255,255,255,.8);
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #fff;
  transition: all 0.5s;
  z-index: 997;
  padding: 30px 0;
}
#header .logo img {
  max-width: 294px;
}
.header-txt{
color:#727070; font-size: 1.3rem;padding-right: 5rem;
}
@media (min-width: 768px){
#header .container{
  max-width: 1320px;
}}

@media (max-width: 1200px){
      #header .logo img {
        max-width: clamp(160px, 20vw, 200px);
      }
      .header-txt{
        font-size: clamp(.73rem, 1.5vw, 1rem);
        padding-right: 0;}
        #header {padding: 2vw 0;}
  }
  @media (max-width: 767px){
    .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
      letter-spacing:0;
    }
    #header .logo img {
      max-width: 140px;
    }
    #header .container{
      max-width: 1000px;
      padding: 0 .3rem;
    }
}
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation*/

.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a {
 display:flex;
  align-items: center;
  justify-content: center;
  padding: .35rem .5rem .4rem;
  font-size:24px;
  font-weight: 400;
  color: #FFF;
  letter-spacing: .1rem;
  white-space: nowrap;
  text-transform: uppercase;
  /*background:linear-gradient(to right, #ff5a00, #ff5100);*/
  background: #ff4e80;
  transition:0.4s;
  border-radius: 30px;
width: 320px;
height: 60px;
cursor: pointer;}
/*.navbar a span{position: relative;}
.navbar a::before{
  background:linear-gradient(to right, #ffa200, #ff5a00);
  border-radius: 30px;
  color: #fff;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transition: all 1s ease-out;
  width: 100%;}*/
.navbar a:hover,.navbar a:active{
  background: #ff6591;
  color: #fff;
}
.navbar a:hover::before {
  opacity: 0;
}
.nav-link:focus, .nav-link:hover {
  color: #fff
}
.btn-check:focus+.btn, .btn:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(255, 236, 94, 0.25);
}
@media (max-width: 1200px){
  .navbar a {
    width: clamp(160px, 30vw, 320px);
height: 40px;
}}
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-bg {
  width: 100%;
  /*background: #fff;*/
  background: url(../img/bg02.jpg) no-repeat center top;
  background-size: cover;
}
section#hero{
  padding: 0;
}

#hero img{width: 100%;
padding: 0;}
#hero .container {
  max-width: 1426px;
  margin: 0 auto;
padding: 0;
}


@media (max-width: 991px) {
  .navbar a {
    font-size: 14px;
    letter-spacing: 0rem;
  }
  #hero {
    height: auto;
    text-align: center;
  }
  #hero .hero-img img {
    width: 50%;
  }
}
@media (max-width: 767px) {
.hero-bg {
  background: #fff;
}}
/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 50px 0 50px;
  overflow: hidden;
}
section .container{
  max-width: 1080px;
}
p{margin-bottom: 1.2rem;}

.section-bg {
  background-color: #f4fbfe;
}

 h2 {
  font-size: clamp(22px, 3.5vw, 44px);
  font-weight:800;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
}

.section-title p {
  margin-bottom: 0;
}


/******************youtube*************/
.c_img{max-width: 150px;}
.ratio {
  border:6px solid #222;
  background-color: #222;
}
.tit_foto{
  max-width: 100px;
  padding: 0 15px 10px 0;
}
@media (min-width: 992px){
  section {
    padding: 70px 0 70px;
  }
  .c_img{max-width: 100%;}
  .tit_foto{max-width: 140px}
}
/*  voice
____________________________________________________*/
#voice{
  background: linear-gradient(90deg, #e2f9fc 40%, #D4F0F3 100%);
  /*background: linear-gradient(90deg, #ecf7ff 40%, #e0ebff 100%);*/
}
#voice .container{
  max-width: 1160px;
}
ul.voice{
  margin:0 auto;
  display:flex;
  flex-wrap: wrap;
  justify-content: space-between;
  }
ul.voice{
    padding:2px;
    }
ul.voice li{
     /*width:49%;
    border-bottom:1px solid #000;
        border: 1px solid #0b9dff;*/
        width:calc(50% - 10px);
    list-style: none;
    border-radius: 5px;
    /*border-top: 8px solid #0b7bb1;*/
    text-align: left;
    margin: 10px 5px;
    border:1px solid #27bbd0;
    /*border: 2px solid #56a3e8;*/
    background: rgba(255, 255, 255, .7);
    }
    ul.voice li img{
      width: 100%;
    }

  .textarea{
  padding:1rem 0 .5rem;
  border-top:1px solid #27bbd0;
  /*border-top:1px solid #56a3e8;*/
  font-size:16px;
  line-height:150%;
  }
  .ages{
  font-size: .8rem;
  display:inline-block;
  border-left:5px solid #27bbd0;
  /*border-left:5px solid #56a3e8;*/
  color:#27bbd0;
  /*color: #56a3e8;*/
  padding:4px 8px;
  margin:0 0 .6rem;
  }
p.comment{margin-bottom: 0;
font-size: .9rem;
line-height: 140%;}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
  /*voice*/
  ul.voice{
    justify-content: center;}

  ul.voice li{
    width:calc(24% - 10px);

    }

    ul.voice li:nth-child(4n){
    margin-right: 0;
    }
    ul.info li{
      flex-direction: row;
      align-items: center;
    }
    ul.voice li img{
      width: 100%;
    }
    .ages{
      font-size: 1rem;}
}
/*form********************************************************/
.info{
  background: url(../img/form-bg.jpg) no-repeat center top;
  background-size: cover;
  padding:50px 0 80px;
  /*background-color: #b1ebf6;
  background-color: #084378;*/
}
.info .container{
  max-width: 1080px;
}
.info .row{
  --bs-gutter-x: 0;
}
.info .container .cta{
  /*background: white;*/
  padding: 1.6em 1rem 1.6rem;
  position: relative;
  z-index: 1;
}
.display-3, .display-4, .display-5 {font-weight: 800;}
.green{
  color: #0acba7;
}
.form_img{
  position: absolute;
  left:-180px;
  bottom:-56px;
  z-index: 10;
  max-width:690px;
}
.info p, .info  h2{
  position: relative;
}
.info div, .info p, .info  h2, .info form, .info ul{
  z-index: 100;
}
.cta div {
  max-width: 597px;
  margin: auto;
  width: 100%;
}
.form-control-lg {
  font-size: 1.5rem;
  margin: .8rem auto 1.5rem;
}
::placeholder {
  text-align: center;
}
.get-regist-btn {
  max-width: 760px;
  width: 100%;
  background: #00baca;
  /*background: #3355FF;*/
  color: #fff;
  border-radius: 4px;
  padding: 19px 10px 18px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: clamp(16px, 4vw, 24px);
  font-weight: 700;
  display: inline-block;
  text-align: center;
}

.get-regist-btn:hover,
.get-started-btn:active {
  background: #19ddda;
  /*background: #3773ff;*/
  color: #fff;
}
.melmaga_minitxt{
  font-size: clamp(13px, 2vw, 13px);
  margin: 0 auto;
  text-align: center;
  padding: 22px 0 15px;
  border-bottom: 1px dotted #333;
  line-height: 1.2;
}

ul.melmaga_SubText {
  font-size: clamp(11px, 1.8vw, 12px);
  margin: 20px auto 0;
  background-color: rgba(255, 255, 255, .9);
  padding: 15px;
  text-align: left;
  color: #444;
  line-height: 150%;
}

ul.melmaga_SubText li {
  list-style: none;
  padding-bottom: 2px;
  position: relative;
  line-height: 1.2;
}

ul.melmaga_SubText li:last-child {
  padding-bottom: 0;
}

.indent-1 {
  padding-left: 1em;
  text-indent: -1em;
}
.indent-2 {
  padding-left: 2rem;
  text-indent: -2rem;
}
.cta .h4{
  text-shadow: 1px 1px 1px rgba(255,255,255,.8), -1px -1px 1px rgba(255,255,255,.8), -1px 1px 1px rgba(255,255,255,.8), 1px -1px 1px rgba(255,255,255,.8);
}
.cta .display-4 {
  text-shadow: 1px 1px 3px rgba(255,255,255,.8), -1px -1px 3px rgba(255,255,255,.5), -1px 1px 3px rgba(255,255,255,.8), 1px -1px 3px rgba(255,255,255,.8);
}
@media (max-width: 992px) {
  .form_img{
    left:-180px;}
  .get-started-btn {
    margin: 30px 0 0 0;
  }
}
@media (max-width: 768px) {
  .info{
    padding:30px 0 30px;
  }
  .info .container {
    width: 96%;
    padding: .6rem 1rem 0;
  }
  .info .container .cta{
    /*background: white;*/
    padding: .6em 0 .5rem;
  }
  .cta .h4{
    font-size: calc(1.0rem + .3vw);
    text-shadow: 1px 1px 1px rgba(255,255,255,.8), -1px -1px 1px rgba(255,255,255,.8), -1px 1px 1px rgba(255,255,255,.8), 1px -1px 1px rgba(255,255,255,.8);
  }
  .cta .display-4 {
    font-size: calc(1.0rem + 2.7vw);
    text-shadow: 1px 1px 3px rgba(255,255,255,.5), -1px -1px 3px rgba(255,255,255,.5), -1px 1px 3px rgba(255,255,255,.5), 1px -1px 3px rgba(255,255,255,.5);
  }
  .form_img{
    left:-50px;
    max-width: 130px;
  }
  .form-control-lg {
    font-size: 1.5rem;
    margin: .8rem auto 1.2rem;
  }
  .melmaga_minitxt{
    width: 100%;}

  ul.melmaga_SubText {
    width: 100%;}
}
@media (max-width: 576px) {
  section#voice{
    padding: 50px 0 30px;
  }
  .info{
    background: url(../img/form-bg.jpg) no-repeat center top;
    background-size: cover;
  }
}
.melmagafooter {
  font-size: 15px;
  line-height: 130%;
  padding: 1rem;
}

.melmagafooter .box {
  max-width: 597px;
  font-size: 11px;
  height: 105px;
  margin: 0 auto;
  text-align: left;
  color: #666;
  overflow: auto;
  border: 1px solid #aaa;
  line-height: 150%;
  background: rgba(240, 240, 240, .8);
  padding: 10px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
}
/********************************
nayami*************************************************/
#nayami{
  background: #BDDDEC url(../img/nayami.jpg) no-repeat right -250px top;
  background-size: cover;
}
.c-list{
  background: rgba(255,255,255, .5);
  padding: 1rem 2rem 3rem;
  max-width: 860px;
}
.c-list p{font-size: clamp(1.1rem, 2vw, 1.4rem);
border-bottom: dotted 1px #333;
padding: 0 0 10px;
margin-bottom:0;
}
.c-list p i{
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  padding: 0px 12px 0 0;
  display: inline-block;
  margin-top: 10px;
}
/**********riyuu**************************************/
.riyuu .container .row>* {
  padding-left: 0;
  padding-right: 0;
}
.riyuu-box{
  position: relative;
  margin-top: 3em;
  padding: 1em 2em;
  border: 1px solid black;
  margin-bottom: 6rem;
}
.riyuu h4 {
  margin-bottom: 2rem;
}
.riyuu h4 span.r-tit{
  display: inline-block;
  position: absolute;
  top:.3rem;
  padding: 0 1em;
  left:0;
  right:0;
  margin: 0 auto;
  z-index: 100;
  text-shadow: 1px 1px 3px #fff, -1px -1px 3px #fff, -1px 1px 3px #fff, 1px -1px 3px #fff;
}
.riyuu h4 span.eng{
  display: inline-block;
  max-width: 370px;
  position: absolute;
  padding: 0 1em;
  top:-2.5rem;
  left:0;
  right:0;
  margin: 0 auto;
  font-size: 3.2rem;
  color:#9fe4f2;
  background-color: white;
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  z-index: 10;
}
.riyuu-box.last {
  margin: 3em auto 3em;
}
.riyuu-box h3{
  background-color:#38c7d3;
  padding: 14px 0 12px;
  color: #fff;
}
/**********lesson**************************************/
.lesson-box{
  position: relative;
  margin-top: 3em;
  padding: 2.5em 2em 2em;
  background-color:#d4f2f6;
  margin-bottom: 6rem;
}
.lesson-box h4{
  background-color: #fff;
  width: 260px;
  padding: 10px 10px 9px;
  margin: auto;
  margin-bottom: 1.5rem;
  box-shadow: 8px 5px 1px #333;;
}

@media (max-width: 992px) {
  section.riyuu {
    padding: 50px 0 15px;
}
  .riyuu-box {width: 98%;
  margin: 3em auto 6em;
padding: 1em;}
  .riyuu h4 span.eng {
    max-width: 90%;
  }
  .riyuu-box h3, .lesson-box h3{
    font-size: 1.2rem;
    padding: 10px 0;
  }
  section.lesson{
    padding-bottom: .3rem;
  }
  .lesson-box{
    padding: 2.5em 1em 2em;
    margin:.5rem auto .7rem;
  }
}
@media (max-width: 768px) {
  #nayami{
    background: #BDDDEC url(../img/nayami.jpg) no-repeat right top -47px;
    background-size: 100%;
  }
  #nayami h3{
    font-size: 1.1rem;
  }
  .c-list p i {
    padding: 0;
    margin-left: 2rem;
    margin-right: -12px;
  }
  .c-list p{
    text-indent: -1em;
  padding-left: 1em;
  }
}
/*present*********************************************/
.bg-pink {
  background-color: #E13264;
}

/*key*************************************************/
.balloon1 {
  position: relative;
  display: block;
  margin: 1.5em auto;
  padding: 15px 10px 7px;
  max-width: 780px;
  color: #fff;
  font-size: 16px;
  background: #46cbe3;
  border-radius: 15px;
}

.balloon1:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -10px;
  border: 10px solid transparent;
  border-top: 15px solid #46cbe3;
}

.balloon1 h3 {
  color: #fff;
  margin: 0;
  line-height: 1.4;
}
#key ul{
  background: #fff5e3;
  padding: 1rem 1rem 1.5rem 2.5rem;
  border-radius: 10px;
}
 #key ul li{
  color: #E13264;
  list-style: none;
  font-size: 1.3rem;
  font-weight: 800;
  border-bottom: 1px dotted #E13264;
  padding: 8px 5px 0;
 }
 .font-b{
  font-weight: 700;
 }
 .pink{color: #e1324c;}
.bg-yellow{
  background-color: rgb(255, 253, 135);
}
.u-line{
  border-bottom:2px solid;
}
.f-big{font-size: 1.3rem;}

/*  flow ***********************************************/
.flows {
  padding: 10px 30px 35px;
  background-color: #f1fcfd;
  border-radius: 10px;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;}
.flow .icon{  position: absolute;
  top: -40px;
left: 0;
right:0;
margin-left: auto;
margin-right: auto;}
.flow .icon p{
  color: #cdebff;
  display: block;
  text-align: center;
  font-size:8rem;
  font-style: italic;
  font-weight: 700;
  margin: 10px auto 10px;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  font-family: "Helvetica Neue", "Helvetica", sans-serif;
}
.f-txt{
    position: relative;
    padding-top: 5.5rem;
  }
  @media screen and (min-width:768px) and ( max-width:997px) {
    .flow p{font-size: .8rem;
    }}
  @media screen and (min-width:998px) and ( max-width:1200px) {
.flow p{font-size: .9rem;
}}
/*  profile
____________________________________________________*/
.profile .container{
  position: relative;
  background: #fff;
  padding: 3rem 1rem 2rem;
}
.profile .container .eng{  position: absolute;
top: 40px;
left: 0;
right:0;
margin-left: auto;
margin-right: auto;
color: #cdebff;
    display: block;
    text-align: center;
    font-size: 2rem;
    font-style: italic;
    font-weight: 700;
    margin: 10px auto 10px;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    font-family: "Helvetica Neue", "Helvetica", sans-serif;
}
.profile .container h3{
  position: relative;
  z-index: 10;
}
  .profile dl{
  display:flex;
  flex-wrap:wrap;
    justify-content: center;
    align-items: center;
  padding-bottom:1rem;
  margin-bottom:2rem;
  border-bottom:1px solid #000;
  }
  .profile dl dt{
  width:100%;
  text-align:center;
  margin-right:0;
  font-weight:600;
  }
  .profile dl dd{
  width:100%;
  text-align:center;
  margin-right: 0;
  font-weight:600;
  }
  .size190p{
  font-size: clamp(150%, 170%, 190%);
  font-weight: bold !important;
  line-height: 140%;}

  .graybox{
    background: #fff;
    padding: 15px;
  }

@media screen and (max-width: 768px){
  .profile .container{
    width: 92%;
  }

.profile dl dd{
width:100%;
}
}
@media (min-width: 769px) {
  .profile dl dt{
    width:50%;

    }
    .profile dl dd{
    width:48%;
    }
}
section.product .container{
  max-width: 1050px;
  margin: 0 auto;
  padding:0 0 10px;
}
table.service {
  width: 100%;
  margin: 0 auto;
  /*border:4px solid #fff;*/
  font-size: .9rem;
  line-height: 150%;
  border-collapse: collapse;
}

table.service th,
table.service td {
  padding: 15px 1px 14px 1px;
  color: #4568ad;
  color: #34b9b9;
  border: 4px solid #fff;
}
table.service th {
  background: #5a9fdb;
  color: #fff;
  text-align: center;
  font-size: 110%;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
}

table.service td {
  background: #edf5ff;
  color: #727272;
  text-align: left;
}

.tb01 th,
.tb01 td {
  box-sizing: border-box;
}

table.service th:nth-child(1) {
  width: 25%;
}

table.service th:nth-child(2) {
  width: 15%;
}

table.service th:nth-child(3) {
  width: 60%;
}

table.service td:nth-child(1),
table.service td:nth-child(2) {
  text-align: center;
}

table.service td:nth-child(3) p {
  margin-bottom: 1rem;
}
.service li{
  margin-bottom: .5rem;
}
@media screen and (max-width: 768px) {
  section.product .container{
    width: 90%;
  }
  .tb01 .head {
    display: none;
  }

  .tb01 {
    width: 100%;
  }

  table.tb01 td {
    display: block;
    width: 100%;
    border-bottom: none;
  }

  table.tb01 td:first-child {
    background: #6fbddb;
    color: #fff;
    font-weight: bold;
  }

  table.tb01 td:before {
    content: attr(data-label);
    font-size: .7rem;
    font-weight: bold;
    color: #999;
    display: block;
    text-align: center;
  }

  .tb01 td:first-child {
    text-align: center;
  }
  table.service td:last-child {
    border-bottom: 4px solid #fff;
  }
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  padding: 15px 0 13px 0;
  color: #ebebeb;
  font-size: 14px;
  background: #ebf7fc;
  background: #1b1b1b;
  text-align: center;
}
#footer a{color: #ebebeb;}
#footer .copyright {
  color: #ebebeb;
  text-align: center;
}



  table#tokutai {
    max-width: 840px;
    font-size: 12px;
    margin: 0 auto;
    border: 10px solid rgb(234, 242, 245);
  }
  table#tokutai th {
    width: 140px;
    padding: 4px 6px;
    background: rgb(234, 246, 250);
    text-align: right;
    vertical-align: top;
    border-bottom: 1px solid #fff;
  }
  table#tokutai td {
    padding: 4px 6px;
    background: #FFF;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgb(234, 246, 250);
  }

    /********swiper*************/

    @media screen and (min-width: 577px) {
      .swiper-button-prev,
      .swiper-button-next {
        display: none;
      }
      .swiper-wrapper {
        display: grid;
        gap: 16px;
        grid-template-columns: repeat(3, 1fr);
      }
    }

  .swiper{padding: 0 0 20px 0;}
    /* 画像のサイズ調整 */
    .swiper-slide > div {
      display: flex;
      height: auto;
      width: 100%;
    }
    .swiper-slide div li{
      display: block;
    }
    .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal{
      bottom:var(--swiper-pagination-bottom,0px)
    }
