/*========= 上部固定させるためのCSS ===============*/
#header{
	position: fixed;
	top: 0px;
	left: 0px;
	height: 70px;/*高さ指定*/
	width: 100%;/*横幅指定*/
	/*以下はレイアウトのためのCSS*/
	display: flex;
	justify-content: space-between;
	align-items: center;
	background:#333;
	color:#fff;
	text-align: center;
	padding: 20px;
}

h1 {
    color: rgb(255, 255, 255);
	padding: 0.5em 0;/*上下の余白*/
	border-top: solid 3px #ffffff;/*上線*/
	border-bottom: solid 3px #ffffff;/*下線*/
  }

/*===ニュース===*/
.news {
	padding: 5px 0;
	background:  #b0c9dc;
  }
  
  
  .inner {
	width: 80%;
	background-color: #fff;
	margin: 0 auto;
	padding: 65px 0 100px;
  }
  
  
  .sub_ttl {
	font-size: 30px;
	text-align: center;
	margin-bottom: 40px;
  }
  
  /* ここからがニュース記事のCSS */
  
  .news_list {
	margin: 0 5%;
  }
  
  .news_list_item {
	padding: 25px 0;
	border-bottom: 1px solid #E6E6E6;
  }
  
  .news_list_item:first-child {
	border-top: 1px solid #E6E6E6;
  }
  .news_list_item a {
   position: relative;
   display: flex;
   padding-right: 30px;
  }
  
  .news_list_date {
	font-size: 15px;
	display: flex;
	margin-right: 15px;
	align-items: center;
  }
  
  .news_item {
	background: #7abbec;
	border-radius: 14px;
	width: 6em;
	/* 親要素の文字サイズを基準 */
	text-align: center;
	margin-left: 20px;
  }
  
  .arrow {
	width: 25px;
	height: 1px;
	background: #707070;
	position: absolute;
	top: 50%;
	right: 0;
  }
  
  .arrow::after {
	content: "";
	display: block;
	width: 6px;
	height: 1px;
	background: #707070;
	transform: rotate(45deg);
	position: absolute;
	right: 0px;
	bottom: 2px;

  }  
  
  @media screen and (max-width: 1024px) {
	  .news_list_item a {
		  display: block;
	  }
  }
  
  @media screen and (max-width: 769px) {
	  .news_list_item a  {
		  font-size: 14px;
	  } 
  
  }
  @media screen and (max-width: 480px) {
	  .arrow {
		  display: none;
	  }
	  .news_list_item a {
		  padding-right: 0;
	  }
  }

/*===ページ内エリア項目===*/
nav ul{
	list-style: none;
	display: flex;
	justify-content: center;
}

nav ul li a{
	text-decoration: none;
	color: #666;
	padding:10px;
}

section{
	padding:300px 0;
}

/* ページアップリンク */
/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}

/*==ページダウンボタン==*/
/*== 押し込む円 */

.pushcircle{
    /*周囲の線の起点とするためrelativeを指定*/
  position: relative;
    /*円の形状*/
  width:50px;
  height:50px;
    box-sizing: border-box;
    padding: 0 10px;
  text-align: center;
  background:#333;
  border-radius:50%;
  color: #fff;
    text-decoration: none;
    outline: none;
    /*天地中央にテキストを配置*/
    display: flex;
    align-items: center;
    justify-content: center;
}

/*内側の線*/
.pushcircle:after {
  content: "";
    /*絶対配置で線の位置を決める*/
  position: absolute;
  top: 50%;
  left: 50%;
    /*線の形状*/
  width: 85%;
  height: 85%;
  border: 2px solid #333;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1.1);
    /*アニメーションの指定*/
    transition: .3s ease; 
  }

/*hoverをしたら枠線が小さくなる*/
.pushcircle:hover:after {
  transform: translate(-50%, -50%) scale(1);
  border-color:#fff;
}


/*==画像スライダー==*/
.slideshow-fade{
    position: relative;
	z-index: -1;
    width: 100%;
    height: 560px;
    li{
        list-style: none;
        width: 100%;
        height: 100%;
        img{
          position: absolute;
          left: 0px;
          top: 102px;
          width: 100%;
        }
    }
}