@charset "utf-8";
/* CSS Document */



/*==============================
共通部分上書き
==============================*/


/*==============================
NEWSカテゴリリスト
==============================*/
#newsWrap{
  width: 100%;
  margin: 0 auto;
  padding: 0 20px 200px;
}

.newsList{
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.newscateBox{
  position: relative;
  width: 180px;
  height: 40px;
  margin-bottom: 30px;
}

#newscatecheck{
  display: none;
}

.newscatelabel{
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #4DC1E9;
  border: 4px solid #4DC1E9;
  width: 180px;
  height: 40px;
  border-radius: 20px;
  padding: 5px 15px;
  z-index: 2;
  transition: .3s;
}

.newscatelabel > p{
  color: #fff;
}

.newscatelabel > i{
  color: #fff;
  transform: scaleX(1.5) rotate(90deg);
}

.newscatelist{
  /*display: none;*/
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 180px;
  border-radius: 20px;
  padding: 30px 15px 5px;
  border: 4px solid rgba(0,0,0,0);
  background-color: #fff;
  -webkit-transform-origin:left top;
  -moz-transform-origin:left top;
  -ms-transform-origin:left top;
  -o-transform-origin:left top;
  transform-origin:left top;
  transform: scale(1,0);
  transition: .3s;
}

.newscatelist > li{
  
}

.newscatelist > li > a{
  display: block;
  width: 100%;
  font-size: 14px;
  letter-spacing: 0;
  color: #000;
  border-bottom: 1px solid #ccc;
}

.newscatelist > li:last-of-type > a{
  border-bottom: none;
}

#newscatecheck:checked ~ .newscatelabel{
  background-color: rgba(0,0,0,0);
  border: 4px solid rgba(0,0,0,0);
}

#newscatecheck:checked ~ .newscatelabel > p,
#newscatecheck:checked ~ .newscatelabel > i{
  color: #4DC1E9;
  transition: .3s;
}

#newscatecheck:checked ~ .newscatelabel > i{
  transform: scaleX(1.5) rotate(-90deg);
}

#newscatecheck:checked ~ .newscatelist{
  transform: scale(1,1);
  border: 4px solid #4DC1E9;
}

@media screen and (max-width: 600px){
}

/*==============================
NEWSリスト
==============================*/

.newslistcheck{
  display: none;
}

.newsList > li{
  border-bottom: 1px solid #EBEBEB;
  padding: 0 20px;
}

.newsList > li:first-of-type{
  border-top: 1px solid #EBEBEB;  
}

.newslistlabel{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  width: 100%;
  height: 80px;
}

.newslistlabel > p{
  width: 10%;
  font-size: 18px;
  color: #4DC1E9;
}

.newslistlabel > h5{
  font-size: 30px;
  color: #4DC1E9;
  font-weight: bold;
}

.newslistlabel > h4{
  width: 90%;
  padding: 20px;
  font-size: 18px;
}

.newslistlabel > span{
  display: block;
  position: absolute;
  right: 0;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  border: 3px solid #4DC1E9;
}

.newslistlabel > span > i{
  position: absolute;
  top: 7px;
  left: 6px;
  font-size: 12px;
  color: #4DC1E9;
  transform: scaleX(1.5) rotate(90deg);
  transition: .3s;
}

.newslistBox{
  width: 100%;
  padding: 0 20px 0px 42px;
  -webkit-transform-origin:left top;
  -moz-transform-origin:left top;
  -ms-transform-origin:left top;
  -o-transform-origin:left top;
  transform-origin:left top;
  transform: scale(1,0);
  opacity: 0;
  transition: .3s;
  height: 0;
}

.catebtn{
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 12px;
  color: #000;
  background-color: #AFE3F5;
  padding: 5px;
  border-radius: 5px;
  margin-bottom: 10px
}

.newslistcheck:checked ~ .newslistlabel > span > i{
  top: 6px;
  left: 7px;
  transform: scaleX(1.5) rotate(-90deg);
  transition: .3s;
}

.newslistcheck:checked ~ .newslistBox{
  transform: scale(1,1);
  opacity: 1;
  height: auto;
  padding: 0 20px 40px 42px;
}


@media screen and (max-width: 1000px){
  .newslistlabel > p{
    width: 15%;
  }
  .newslistlabel > h4{
    width: 85%;
  }
  
  .newslistBox{
    padding: 0 20px 0 20px;    
  }
  
  .newslistcheck:checked ~ .newslistBox{
    padding: 0 20px 40px 20px;
  }
}


@media screen and (max-width: 1000px){
  .newslistlabel{
    display: block;
    height: auto;
    padding: 20px 0px;
  }
  
  .newslistlabel > p,
  .newslistlabel > h4{
    width: 100%;
    padding: 0;
  }
  
  .newslistlabel > h4{
    font-size: 16px;
    letter-spacing: 0;
    padding-right: 40px;
  }
  
  .newslistlabel > span{
    bottom: 30px;
  }
  .newslistBox{
    padding: 0 0px 0 0px;    
  }
  
  .newslistcheck:checked ~ .newslistBox{
    padding: 0 0px 40px 0px;
  }
}