*{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;}
article{max-width: 1000px;margin: 0 auto;}
body{background-color: #f1eeec;}
.contents_main{background-color: #fff;padding: 10px;}
/*------------------全体、top画像、テキスト-----------------------*/
h2 {font-size: 24px;
  font-weight: bold;
  margin-top: 80px;
  margin-bottom: 30px;
  position: relative;
  color: white;
  line-height: 1.4;
  padding: 0.5em 0.5em 0.5em 1.8em;
  background: #ff9238;
  }
  
  h2:before {
    font-family: "Font Awesome 5 Free";
    content: "\f14a";
    font-weight: 900;
    position: absolute;
    left : 0.5em; /*左端からのアイコンまでの距離*/
  }
  :root{
    --main-font: "vdl-penletter", sans-serif;
    --main-weight: 500;
    --main-style: normal;
  }

.none{display: none;}
h1{width: 100%;margin: 0 auto;}
h1 img{ width: 100%;}
.h2_flex{display: flex;width: 100%;max-width: 800px;margin: 0 auto;}
.h2_flex img{width: 100%;}
.h2_flex .img1{width: 60%;}
.h2_flex .img2{width: 20%;}
.top_text{
  text-align: center;
  line-height: 1.9;
  font-family: var(--main-font);
  font-weight: var(--main-weight);
  font-style: var(--main-style);
  font-size: 21px;
  margin: 50px auto 20px;
}



  /*---------------ページ内リンク----------------------*/

  /* .page-link{
    padding-top: 60px;
    margin-top: -60px;
  }

.link{display: flex;}
.link a:hover{opacity: 0.5;}

.link a{
  display: block;
  padding: 5px 20px;
  font-weight: bold;
  color: #0084ff;
  margin-bottom: 10px;
} */

.school-btn{
  margin: 50px auto 100px;
  text-align: center;
  display: block;
  max-width: 700px;
  line-height: 1.5;
  font-size: 22px;
  color: #ffffff;
  background-color: #ff9238;
  border-radius: 30px;
  font-weight: bold;
  padding: 10px;
  width: 90%;
  box-shadow: 0px 0px 8px 0px rgba(17, 17, 26, 0.18);
  border: 1px solid #cacaca;
}

.school-btn:hover{
  opacity: 0.5;
  box-shadow: none;
}

.school-btn1{background-color: #ffd000;margin: 0px auto 70px;}
.school-btn2{background-color: #ff7ea5;margin: 0px auto 70px;}
.school-btn3{background-color: #5fbd33;margin: 0px auto 70px;}

/*-----------------全分野-----------------------*/
.group1{width: 100%;}
.group1 .box1{max-width: 200px;float: left;}
.group1 .box1 img{width: 100%;padding: 10px 10px 0px 10px;}
.group1 .box2{padding: 20px;}
.group1 .box2 h3{
  font-size: 21px;
  background-color: #fff;
  padding: 3px 20px;
  display: inline-block;
  border-radius: 10px;
  margin-top: 10px;
  font-family: var(--main-font);
  font-weight: var(--main-weight);
  font-style: var(--main-style);
}
.group1 .box2 p{margin-top: 20px;line-height: 1.7;}
.group2 h3{font-size: 20px;padding: 5px 10px 10px 10px;font-family: var(--main-font);font-weight: var(--main-weight);font-style: var(--main-style);}
.group2{
  margin: 10px 5px 5px 5px;
  border: 1px solid #dddddd;
  box-shadow: 2px 2px 3px 1px rgba(136, 136, 136, 0.42);
  width: 48%;
  padding: 20px 10px 35px 10px;
}

.flex{display: flex;justify-content: center;}

/*-----------------調理分野-----------------------*/
.cooking{
  margin: 30px auto 20px;
  border: 1px solid #cacaca;
  width: 95%;
  box-shadow: 2px 2px 5px 1px rgba(136, 136, 136, 0.42);
  padding: 15px 0 20px 0;
}
.cooking .group1{background-color: #f3e350;min-height: 270px;}
.cooking .group1 .box2 h3{box-shadow: 4px 4px 0px 0px rgba(138, 116, 0, 0.96);font-family: var(--main-font);font-weight: var(--main-weight);font-style: var(--main-style);}
.cooking .group2{background-color: #f5f5e6;}


/*-----------------製菓分野-----------------------*/
.confectionery{
  margin: 30px auto 20px;
  border: 1px solid #cacaca;
  width: 95%;
  box-shadow: 2px 2px 5px 1px rgba(136, 136, 136, 0.42);
  padding: 15px 0 20px 0;
}
.confectionery .group1{background-color: #ff9dba;min-height: 270px;}
.confectionery .group1 .box2 h3{box-shadow: 4px 4px 0px 0px rgba(124, 38, 71, 0.96);font-family: var(--main-font);font-weight: var(--main-weight);font-style: var(--main-style);}
.confectionery .group2{background-color: #f8eef0;}


/*-----------------栄養分野-----------------------*/
.nutrition{
  margin: 30px auto 20px;
  border: 1px solid #cacaca;
  width: 95%;
  box-shadow: 2px 2px 5px 1px rgba(136, 136, 136, 0.42);
  padding: 15px 0 20px 0;
}
.nutrition .group1{background-color: #74b94d;min-height: 270px;}
.nutrition .group1 .box2 h3{box-shadow: 4px 4px 0px 0px rgba(43, 95, 43, 0.96);font-family: var(--main-font);font-weight: var(--main-weight);font-style: var(--main-style);}
.nutrition .group2{background-color: #ecf0ec;}

/*----------------インタビュー---------------------*/

.work3{margin-bottom: 80px;}
.work3 img{width: 100%;}
.work3 p{padding: 10px;}

.work3 ul{
  display: flex;
  justify-content: space-between;
}

.work3 li{
  box-shadow: 0px 0px 8px 0px rgba(17, 17, 26, 0.18);
  border: 1px solid #dddddd;
  background-color: #fff;
  width: 32%;
}

.work3 .img{
  width: 50%;
  max-width: 100px;
  margin: 30px auto 10px;
}

.work3 .text a{
  display: block;
  line-height: 2;
  text-align: right;
  padding-right: 20px;
  margin-bottom: 30px;
  color: #006eff;
}

.work3 .text a:hover{opacity: 0.5;}
li .flex{display: flex;}
li .flex .name{width: 65%;min-height: 180px;}
li .flex .name a{margin-top: 10px;}
li .flex a{display: block;width: 150px;margin-bottom: 10px;}
li .flex .name1{color: #00b5ec;font-size: 13px;}
li .flex .name2{color: #6e6e6e;font-size: 13px;}


/*----------------イベントに参加しよう---------------------*/

.event img{width: 100%;}
.event .event_text1{max-width: 600px;}
.event .event_text3{padding: 30px 0px 0px 0px;width: 80%;font-size: 16px;margin: 0 auto;}
.event h3{
  display: block;
  color: #da4a27;
  font-weight: bold;
  text-align: center;
  font-size: 19px;
  margin-top: 30px;
}
.event_illust .illust_flex{position: relative;height: 120px;}
.event_illust .illust_flex .img1{position: absolute;bottom: 10px;left: 0;width: 140px;}
.event_illust .illust_flex .img2{position: absolute;bottom: 10px;right: 0;width: 140px;}
.event_illust .illust_flex img{width: 100%;;}
/*----------------学校一覧部分-----------------------*/

.school{display: flex;justify-content: space-between;}
.scool-box{
    width: calc((100% - 60px) / 4);
    box-shadow: 0px 0px 8px 0px rgba(17, 17, 26, 0.18);
    border: 1px solid #dddddd;
    border-radius: 5px;
    color: #000;
    padding: 10px;
}

.school .img-box{margin: 15px;width: 100%;margin: 0 auto;position: relative;}
.school img{height: 200px;object-fit: contain;width: 100%;}
.school h3{
  height: 100px;
  font-size: 15px;
  font-weight: bold;
  margin-top: 10px;
  color: #20adff;
  line-height: 1.3;
}
.school p{
  color: #757575;
  height: 140px;
  font-size: 13px;
  margin-bottom: 10px;
}
.school .a-link{
    padding: 10px;
    text-align: center;
    display: block;
    color: #ffffff;
    background-color: #ff8800;
    border-radius: 10px;
    font-weight: bold;
    position: relative;
    transition: .4s;
    font-size: 16px;
    margin-top: 5px;
}
.school a:hover{opacity: 0.5;box-shadow: none;top: 3px;  }


.Pagination {
  display: flex;
  align-items: center;
  border: solid 2px #111;
  border-radius: 9999px;
  overflow: hidden;
}
.Pagination > * + * {
  border-left: solid 2px #111;
}
.Pagination-Item-Link {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 45px;
  height: 45px;
  background: #fff;
  font-size: 14px;
  color: #111;
  font-weight: bold;
  transition: all 0.15s linear;
}
.Pagination-Item-Link-Icon {
  width: 20px;
}
.Pagination-Item-Link.isActive {
  background: #111;
  color: #fff;
  pointer-events: none;
}
.Pagination-Item-Link:not(.isActive):hover {
  background: #111;
  color: #fff;
}

  .Paging{
    overflow-x: auto;
    border: 1px solid #999;
    /*padding: 10px;*/
    width: 95%;
  }
  .Paging>div{
      display: flex;
  }
  .Paging>div>div{
      /*コレ*/white-space: nowrap;
      border: 1px solid #999;
      /**padding: 10px 20px;*/
      /*margin: 10px;*/
      background: #f2f2f2;
  }



@media (max-width: 750px){
  h2 {font-size: 18px;margin-top: 40px;margin-bottom: 15px;}
.contents_main{padding: 0px;}
.none{display: block;}
.h2_flex .img1{width: 100%;margin: 0 auto;max-width: 320px;}
.h2_flex .img2{display: none;;}
.top_text{line-height: 1.8;font-size: 14px;margin: 20px auto 10px;}
.school-btn{
  padding: 15px 10px;
  max-width: 340px;
  margin: 30px auto 60px;
  line-height: 1.2;
  font-size: 17px;
  border-radius: 50px;
  width: 100%;
}

.school-btn1{background-color: #ffd000;margin: 0px auto 50px;}
.school-btn2{background-color: #ff7ea5;margin: 0px auto 50px;}
.school-btn3{background-color: #5fbd33;margin: 0px auto 50px;}

  /*-----------------全分野-----------------------*/
  .group1 .box1{max-width: 200px;}
  .group1 .box1 img{width: 100%;padding: 7px 0px 0px 7px;}
  .group1 .box2{padding: 15px 15px 25px 15px;}
  .group1 .box2 h3{font-size: 22px;line-height: 1.7;padding: 0px 15px;border-radius: 8px;}
  .group1 .box2 p{line-height: 1.6;font-size: 15px;}
  .flex{display: block;justify-content: start;}
  .group2 h3{font-size: 20px;padding: 0px 0px 5px 0px;}
  .group2{margin: 10px auto;box-shadow: 1px 1px 2px 1px rgba(136, 136, 136, 0.3);width: 95%;padding: 20px 10px 35px 10px;}
  .group2 li{font-size: 15px;}
  
/*-----------------調理分野-----------------------*/
.cooking{margin: 0px auto 0px;width: 100%;box-shadow: none;border: none;padding: 15px 0 0 0;}

/*-----------------製菓分野-----------------------*/
.confectionery{margin: 10px auto 0px;width: 100%;box-shadow: none;border: none;padding: 15px 0 0 0;}

/*-----------------栄養分野-----------------------*/
.nutrition{margin: 10px auto 0px;width: 100%;box-shadow: none;border: none;padding: 15px 0 0 0;}


    /*----------------学校一覧部分-----------------------*/
    
    .school{display: flex;justify-content: space-between;}
    
    .scool-box{
        width: calc((100% - 60px) / 4);
        box-shadow: 0px 0px 8px 0px rgba(17, 17, 26, 0.18);
        border: 1px solid #dddddd;
        border-radius: 5px;
        color: #000;
        padding: 10px;
    }
    
    .school .img-box{
      margin: 15px;
    
      width: 100%;
      margin: 0 auto;
      position: relative;
    }
    .school img{
      height: 200px;
      object-fit: contain;
      width: 100%;
    }
    .school h3{
      height: 100px;
      font-size: 15px;
      font-weight: bold;
      margin-top: 10px;
      color: #20adff;
      line-height: 1.3;
    }
    .school p{
      color: #757575;
      height: 140px;
      font-size: 13px;
      margin-bottom: 10px;
    }

    .school .a-link{
      padding: 10px;
      text-align: center;
      display: block;
      color: #ffffff;
      background-color: #ff8800;
      border-radius: 10px;
      font-weight: bold;
      position: relative;
      transition: .4s;
      font-size: 16px;
      margin-top: 5px;
  }

    .school a:hover{
      opacity: 0.5;
      box-shadow: none;
      top: 3px;
    }

    /*----------------イベントに参加しよう---------------------*/

.event img{width: 100%;}
.event .event_text1{max-width: 330px;}
.event .event_text3{padding: 30px 0px 0px 0px;width: 80%;font-size: 14px;}
.event h3{
  font-size: 16px;
  margin-top: 30px;
}
.event_illust .illust_flex{height: 90px;}
.event_illust .illust_flex .img1{bottom: 5px;left: 0;width: 100px;}
.event_illust .illust_flex .img2{bottom: 5px;right: 0;width: 100px;}
  

    /*----------------学校一覧部分-----------------------*/
  
    .school{
      display: block;
      justify-content: start;
  }
  
  .scool-box{
      width: 95%;
      margin: 20px auto;
  }
  
  .school img{
    height: 270px;
  }
  .school h3{font-size: 18px;height: auto;margin-bottom: 30px;}
  .school p{font-size: 15px;height: auto;margin-bottom: 40px;}

}
