*{padding: 0;margin: 0;box-sizing: border-box;}
ul,ol{list-style: none;margin-top: 0;}
a{text-decoration: none;}
img{vertical-align: bottom;}
ol, ul:not([class]), ul.dotList{padding-left: 0;}
p{margin-top: 0;}
.contents_main{margin: 0 auto;}
.item1, .item2, .item3, .top{padding: 0 5px;}
.none{display: none;}
table{
  margin: 0;
}

/*-----------------アイコン-----------------------*/

/* .triangle2{color: #ff697d;}
.triangle1{color: #475dbe;} */

/*------------------top-----------------------*/
.top{margin-bottom: 80px;}
.top h1{
  font-size: 24px;
  font-weight: 900;
  color: #475dbe;
  border-left: 7px solid #475dbe;
  padding: 15px 10px 20px 10px;
  line-height: 1.3;
  margin-bottom: 50px;
  max-width: 600px;
  width: 80%;
  margin: 50px auto 10px;
}

.top h1 .small{font-size: 15px;color: #7a7a7a;line-height: 1.8;}

.top .bunya{
  display: flex;
  flex-wrap: wrap;
  max-width: 600px;
  width: 80%;
  margin: 0 auto 20px;
  
}
.top .bunya span{
  display: inline-block;
  padding: 3px;
  margin: 3px;
  border: 1px solid #8389a7;
  color: #8389a7;
  font-size: 14px;
  border-radius: 5px;
}

/*------------------申込ボタン設定-----------------------*/

.btn-flex {
  margin: 80px auto 70px;
  display: flex;
  justify-content: space-between;
  
  font-weight: bold;
  text-align: center;
  font-size: 18px;
}
.btn-flex a{
  width: 48%;
  border: 5px solid #ffffff;
  display: block;
  margin: 3px;
  border-radius: 50px;
  box-shadow: 2px 2px 4px #4e4e4eab;
  line-height: 3;
  color: #ffffff;
}
.btn2 {
  background-color: #13b920;
}
.btn1 {
  background-color: #ffa552;
}

/*------------------入試部分-----------------------*/
h2{
   background-color: #37a6e7;
   padding: 10px;
   color: #ffffff;
   font-weight: bold;
   margin-top: 100px;
   margin-bottom: 50px;
   font-size: 20px;
}


h3{font-size: 16px;font-weight: bold;padding: 3px;margin: 60px 0 30px;border-left: 7px solid #4c586e;}


.item1 ul{
   /* display: flex;
   flex-wrap:wrap; */
   margin-bottom: 40px;
   margin-top: 10px;
}

.item1 .frame2{
 max-width: 400px;
 width: 100%;
  border: 1px solid #e6e6e6;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 3px 10px;
  margin: 3px;
}



.item1 .event:last-child {border-bottom: none;}

.schedule span{
  display: block;
}

.schedule li{margin-bottom: 30px;}

.item1 .frame3{
  display: inline-block;
   border: 1px solid #e6e6e6;
   background-color: #ffffff;
   border-radius: 8px;
   padding: 3px 10px;
}

.item1 .frame4{
  display: inline-block;
   border: 1px solid #ffb5d4;
   background-color: #fff7f9;
   border-radius: 8px;
   padding: 3px 10px;
}


/*------------------slick-----------------------*/
.test__container {
   padding-top: 30px;
   padding-bottom: 30px;
 }
 
 .test-slick {
     width: 70%;
     margin: 15px auto;
     @include breakpoint(500px) {
         margin: 5% auto;
     }
 }
 
 .test-slick__item {
     margin-right: 5px;
     margin-left: 5px;
 }

 
 .test-slick__item img {
     height: auto;
     width: 100%;
 }

 .test-slick__item p{
  position: relative;
  border-top: solid 2px #80c8d1;
  border-bottom: solid 2px #80c8d1;
  background: #f4f4f4;
  line-height: 1.4;
  padding: 10px 5px;
  /* padding: 0.4em 0.5em; */
  margin: 2em 0 0.5em;
  height: 150px;
}

.test-slick__item p:after {
  /*タブ*/
  position: absolute;
  font-weight: 900;
  content: 'POINT';
  background: #80c8d1;
  color: #fff;
  left: 0px;
  bottom: 100%;
  border-radius: 5px 5px 0 0;
  padding: 5px 7px 3px;
  font-size: 1em;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
 
 .test-slick2 {
     width: 70%;
     margin-right: auto;
     margin-left: auto;
     @include breakpoint(500px) {
         margin: 3% auto;
     }
 }
 
 .test-slick2__item {
     margin-right: 5px;
     margin-left: 5px;
 }
 
 .test-slick2 .slick-track {transform: unset !important;}
 
 .test-slick2__item img {
     height: auto;
     width: 100%;
     opacity: .4;
     transition: opacity .5s; 
 }
 .test-slick2__item.slick-current img {opacity: 1;}
 .slick-prev:before, .slick-next:before {color: #000066;}


/*------------------表-----------------------*/
table{text-align: center;}
th{background-color: #4c586e;color: #ffffff;}
table td{background-color: #fff;}
table .box1{width: 60%;text-align: center;}
table .box2{width: 40%;text-align: center;}

/*------------------access-----------------------*/

.address{margin-bottom: 30px;}
.address .flex{display: flex;justify-content: start;margin-bottom: 30px;}
.address p{padding: 5px;margin: 5px;font-size: 14px;}
.address h6{background-color: #4c586e;padding: 3px;;margin: 5px;color: #ffffff;text-align: center;margin-right: 10px;border-radius: 8px;width: 150px;font-size: 15px;font-weight: bold;}


@media (max-width: 650px){
.none{display: block;}
  /*------------------top-----------------------*/
  .top h1{
    font-size: 17px;
    padding: 15px 10px 17px 5px;
    width: 100%;

  }
  .top h1 .small{font-size: 13px;font-weight: normal;}
  .top .bunya{
    width: 100%;
    margin: 0 auto 20px;
  }
  .top .bunya span{
    display: inline-block;
    padding: 1px 4px;
    margin: 1px;
    font-size: 12px;
    border-radius: 3px;
  }
  
  /*------------------申込ボタン設定-----------------------*/
  .btm a{max-width: 270px;padding: 10px;}
  
  /*------------------イベントリンク部分-----------------------*/
   ol.category li{font-size:13px;line-height: 20px;}

  /*------------------イベント詳細部分-----------------------*/
  h2{margin-top: 50px;font-size: 20px;margin-bottom: 40px;}
  h3{padding: 7px 5px;margin-bottom: 15px;margin-top: 10px;}
  .item1 .flex{display: block;}
  h4{font-size: 14px;}
  h5{font-size: 15px;padding: 3px 3px 3px 8px;margin: 20px 0 10px;}
  .item1 .img-box2{width: 90%;}
  .item1 .text{width: 100%;}
  .item1 .frame2{border-radius: 5px;padding: 3px 10px;margin: 3px;}
  
  table .box1{width: 53%;}
  table .box2{width: 48%;}


  /*------------------学校について-----------------------*/
  .item3 .flex{display: block;justify-content: start;margin-bottom: 0;}
  .test-slick2 { width: 85%;}
  .test-slick { width: 85%;}
  .item3 .point{width: 85%;margin-top: 0;margin: 30px auto;}
  .item4 .flex{display: block;}
  .item3 .point{width: 95%;margin: 30px auto;}



  .btn-flex {
    display: block;
    justify-content: start;
  }
  
  .btn-flex a{
    width: 80%;
    margin: 0 auto;
    margin-bottom: 20px;
  }
}