body{
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    font-family: Noto Serif JP;
    font-style: normal;

}

footer{
  background-color: #ffffff;
    width: 100%;
    height: 85px;
    bottom: 0;
   position: fixed;
}

a{
  text-decoration: none;
}

.saito{
    position: relative;
    width: 100%;
   
}

.headti{
    margin: 0;
    font-size: 30px;
    text-decoration: none;
}

.aleh{
  color: #54b5d3;
}

.wa{
    text-align:center;
    height: 80px;
    width: 100%;
    background-color: #ffffff;
    position: fixed;
    z-index: 1;
    display: fixed;
    margin-top: 0;
}

.ale{
  color: #54b5d3;
  text-decoration: none;
  text-align: center;
  letter-spacing: 3px;
  position: relative;
  background-color: #ffffff;
  -webkit-transition:0.8s;
    -moz-transition: 0.8s;
    -o-transition: 0.8s;
    -ms-transition: 0.8s;
    transition: 0.8s;
}

.ale::after,
.ale::before {
  content: '';
  display: block;
  /* 初期状態でのwidthは0 */
  width: 0;
  height: 3px;
  background-color: #D65556;
  position: absolute;
  bottom: 0;
  transition: .5s;
}
/* 中心から線がスタートするので始点を50%の位置に移動する */
.ale::after {
  left: 50%;
}
.ale::before {
  right: 50%;
}

/* マウスカーソルが乗っかると中心からwidthが50%ずつ伸びて100%の線になる */
.ale:hover::before,
.ale:hover::after {
  width: 50%;
}

.ale:hover{
  color: #D65556;
}

.header1{
    width: 100%;
    height: 100vh;
    display: fixed;
    bottom: 0;
    list-style: none;
    text-align: left;
    margin-block-start: 0;
    text-decoration: none;
}

.nav-list {
    line-height: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

.nav-list-item {
    list-style: none;
    display: inline-block;
    margin: 0 15px;
    text-decoration: none;
}



.scrollbox {
  background-color: #54b5d3;
  width: 560px;
  height: 2000px;
  margin: auto;
  z-index: 2;
}


.boxp{
    margin-block-start: 0;
    margin-block-end: 10px;
    padding-top: 120px;
    text-align: center;
    font-weight: 400;
    font-size: 32px;
    color: #ffffff;
    padding-bottom: 10px;
}

.boxp2{
  font-size: 30px;
  margin-block-start: 3%;
    margin-block-end: 3%;
}

.boxp3{
  margin-block-start: 0;
  padding-top: 80px;
  font-size: 32px;
  text-align: center;
}

.we1i{
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.we2i{
  width: 100%;
  height: 26.25%;
  vertical-align: bottom;
}

.naiyou{
  background-color: #ffffff;
  height: 1600px;
}

.scrollbox2 {
  background-color: #ffffff;
  width: 560px;
  height: 1600px;
  margin: auto;
  z-index: 2;
}

.naiyou2{
  background-color: #ffffff;
  height: 1000px;
}


.webback{
  
    background-position: center;
}

.webback::before {
    background-image: url(web2.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -1;
}
  
  

.main{
    position: relative;
    max-width: 540px;
    margin: 0 auto;
    overflow: hidden;
}
  
.Qa-Box {
    width: 80%;
    margin: 0 auto;
  }
  
  .Qa-Box .Qa dt,
  .Qa-Box .Qa dd {
    display: flex;
    align-items: baseline;
    margin: 15px 0;
    padding: 15px;
  }
  
  .Qa-Box .Qa dt {
    background: #F5F5F5;
  }
  
  .Qa-Box .Qa dt p {
    margin: 0;
    padding-left: 15px;
    font-weight: bold;
    width: 100%;
  }
  
  .Qa-Box .Qa dd p {
    margin: 0;
    padding-left: 15px;
    width: 100%;
  }
  
  .Qa-Box .Qa dt::before {
    content: "Q";
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: #6699B7;
    width: 2em;
    height: 2em;
  }
  
  .Qa-Box .Qa dd::before {
    content: "A";
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: #D65556;
    width: 2em;
    height: 2em;
  }
  
  .naiyou3{
    background-color: #ffffff;
    height: 3500px;
    text-align: center;
    justify-content: center;
  }


.sen{
  margin-top: 100px;
  border-bottom: 1px solid #000;
  display: inline-block;
  font-size: 30px;
}

.boxbox{
  display: table;
  justify-content: center;
  margin: auto;
}

.boximgda{
  width: 270px;
  height: auto;
}

.wawawa{
caption-side: bottom;
margin-left: 10%;
margin-right: 10%;
text-align:left
}


  @media screen and (max-width: 960px) {
    .Qa-Box {
      width: 95%;
    }
  }

  @media  screen and (min-width: 500px){
    .webback::before {
      background-color: #54b5d3;
      margin: 0;
  }
  .nav-list-item{
    margin: 0 20px;
}
  }
  @media screen and (min-width: 480px){
    .scrollbox {
      width: 430px;
    }
    .webback::before {
      background-color: #54b5d3;
      margin: 0;
      width: 100%;
  }
  .cardbox{
   width: 30%;
   width: 100px;
    height: auto;
  }
  .cardboximg{
    width: 100px;
    height: auto;
  }
  .card-text-tax{
    font-size: 12px;
  }
  .naiyou{
    margin-top:-10px;
  }
  nav-list-item{
    margin: 0 10px;
}

.scrollbox2{
  width: 430px;
}

}
    

.toiawase{
  color: #5336d5;;
}


  /*member*/
  .cardlayout-wrap{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    word-wrap: break-word;
  }

  .cardbox{
    width: 30%;
  }

  .cardboximg{
    width: 130px;
    height: auto;
  }

  .card-text-tax{
    text-align:left;
    padding-left: 10%;
    padding-right: 10%;
  }

  .Teacher{
    text-align: center;
  }

  .Teacherimg{
    width: 256px;
    height: auto;
  }
  
  .sannenn{
    margin-block-start: 0;
    margin-block-end: 0;
    text-align: center;
    font-size: 40px;
    padding-top: 110px;
  }

  


  .komekome{
    box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Ropa Sans', sans-serif;
 
  }

  .slider {
    width: auto;
    text-align: center;
    overflow: hidden;
    align-items: center;
  justify-content: center;
 
  }
   
  .slides {
    display: flex;
    
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    
    
    
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    
    /*
    scroll-snap-points-x: repeat(300px);
    scroll-snap-type: mandatory;
    */
  }
  .slides::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  .slides::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 10px;
  }
  .slides::-webkit-scrollbar-track {
    background: transparent;
  }
  .slides > div {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    margin-right: 50px;
    border-radius: 10px;
    background: #eee;
    transform-origin: center center;
    transform: scale(1);
    transition: transform 0.5s;
    position: relative;
    
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 100px;
  }
  .slides > div:target {
  /*   transform: scale(0.8); */
  }
  .author-info {
    background: rgba(0, 0, 0, 0.75);
    color: #54b5d3;
    padding: 0.75rem;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
  }
  .author-info a {
    color: #ffffff;
  }
  .ibeimg {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
   
  .slider > a {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    background: #54b5d3;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 0 0.5rem 0;
    position: relative;
    color: #ffffff;
  }
  .slider > a:active {
    top: 1px;
  }
  .slider > a:focus {
    background: #ffffff;
  }
   
  /* Don't need button navigation */
  @supports (scroll-snap-type) {
    .slider > a {
      display: none;
    }
  }