/*
Theme Name: takedakenchiku
Theme URI: https://tnp-shizuoka.com/
Description: Dotinstall
Author: michi nakajima
Author URI: https://tnp-shizuoka.com/
Version: 1.0

*/



.news_intro{

	width:90%;
	padding: 90px 5% 0 5%;
	min-height:200px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.news_intro nav{
	display:block;
	margin:70px auto 0;
}
.news_intro nav li,
.news_intro nav li a{
	display:inline-block;
	color:#fff;
}


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

#news .intro{
	margin-top:50px;
	padding: 60px 5% 0 5%;
	min-height:150px;
}
#news .intro nav{
	margin:50px auto 0;
}
}

/*=======================================
  news
=======================================*/

#news{
	padding: 3rem 0;
	overflow:hidden;
}

#news_cont p a{
	color:#158028;
  top: 0;
  left: 0;
  display: block;
  white-space: nowrap;
}
#news_cont p a::before{
  content: "";
  display: inline-block;
  width: 1em;
  border-top: 2px solid;
  vertical-align: middle;
  margin-right: 1em;
  padding-bottom:4px;
	transition: all 0.5s 0s ease;
}
#news_cont p a:hover::before{
  margin-right: 0.5em;
  width: 1.5em;
}



#news_cont{
	width:70%;
	float:left;
}
#news_cont h4{
font-family: 'Noto Serif JP', serif;
    font-size: 170%;
    font-weight: 500;
    line-height: 3;
    letter-spacing: 0.1em;
	text-align:left;
}
#news_cont h4 span{
    font-size:60%;
    color:#000;
}
#news_cont dl{
	overflow:hidden;
	padding-bottom:5px;
}
#news_cont dt{
	background:#33b3bc;
	padding:5px 20px;
	float:left;
	color:#fff;
	min-width:150px;
}
#news_cont dd{
	background:#000;
	padding:5px 20px;
	display:inline-block;
	color:#fff;
}
#news_cont p{
    padding:0 0 0.8rem;
}
#news_cont span{
	padding:5px 15px;
	color:#fff;
	margin-right:15px;	
}
#news_cont .info{
	background:#33b3bc;
}
#news_cont .news{
	background:#f58462;
}
#news_cont .other{
	background:#ccc;
}
#news_cont h3{
    font-family: 'Noto Serif JP', serif;
    font-size: 170%;
    font-weight: 500;
    line-height: 3;
    letter-spacing: 0.1em;
    text-align: left;
}


.r_navi{
	width:21%;
	float:right;
	background:#f1f3f6;
	padding:0 2% 2rem 2%;
	margin-top:1rem;
}
.r_navi h2{
	font-size:110%;
	padding:10px 0;
	margin: 2rem 0 1rem;
	border-bottom:1px solid #000;
} 
.r_navi li a{
	position: relative;
  display: inline-block;
  padding:5px 0 5px 20px;
  color: #333;
  text-decoration: none;
}
.r_navi li a:before {
  content:"";
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 2px #333;
  border-right: solid 2px #333;
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -4px;
  transform: rotate(45deg);
}
.r_navi li ul li a{
	font-size:80%;
}
.r_navi li ul li a:before{
  border-top:none;
  border-right:none;
}

@media screen and (max-width: 900px) {
.r_navi{
	width:90%;
	padding: 2rem 5%;
	float:none;
	margin-top:2rem;
}
}
#news_cont .navigation{
	overflow:hidden;
	margin-top:2rem;
}
#news_cont .navigation a{
	display:inline;
	background:#fff !important;
}

#news_cont .navigation .prev a,
#news_cont .navigation .next a{
	float:left;
	width:40%;
	border-radius:10px;
}
@media screen and (max-width: 600px) {
#news_cont .navigation .prev a,
#news_cont .navigation .next a{
	width:100%;
	float:none;
}
}
#news_cont .navigation .prev a{
	padding: 0 0 10px 4%;
	float:left;
}
#news_cont .navigation .next a{
	float:right;
	padding: 0 4% 10px 0;
	text-align:right;
}
#news_cont .navigation .prev a,
#news_cont .navigation .next a{
    /*矢印と下線の基点とするためrelativeを指定*/
    position: relative;
    /*形状*/
    display: inline-block;
    color: #222;
    text-decoration: none;
    outline: none;
    z-index:10;
}
#news_cont .navigation .prev a{
	margin: 1rem 0 1rem 2rem;
}

#news_cont .navigation .next a{
	margin: 1rem 2rem 1rem 0;
}
@media screen and (max-width: 600px) {
#news_cont .navigation .prev a,
#news_cont .navigation .next a{
	margin: 1rem 0 1rem 0;
}
}



/*矢印と下線の形状*/
#news_cont .navigation a::before{
    content: '';
    /*絶対配置で下線の位置を決める*/
    position: absolute;
    bottom:-8px;
    /*下線の形状*/
    width: 80%;
    height: 1px;
    background:#222;
    /*アニメーションの指定*/
    transition: all .3s;
}
#news_cont .navigation .next a::before{
    left: 20%;
}
#news_cont .navigation .prev a::before{
    right: 20%;
}

#news_cont .navigation a::after{
    content: '';
    /*絶対配置で矢印の位置を決める*/
    position: absolute;
    bottom:-3px;
    /*矢印の形状*/
    width: 15px;
    height:1px;
    background:#222;
    /*アニメーションの指定*/
    transition: all .3s;
}
#news_cont .navigation .next a::after{
    right:0;
    transform: rotate(35deg);
}
#news_cont .navigation .prev a::after{
    left:0;
    transform: rotate(-35deg);
}

/*hoverした際の移動*/
#news_cont .navigation .next a:hover::before{
    left:30%;
}
#news_cont .navigation .next a:hover::after{
    right:-10%;
}
#news_cont .navigation .prev a:hover::before{
    right:30%;
}
#news_cont .navigation .prev a:hover::after{
    left:-10%;
}



@media screen and (max-width: 900px) {
#news{
	padding: 1rem 0 0;
}
#news_cont a{
	margin-top:1rem;
}
#news_cont h4{
    font-size:130%;
}
#news_cont{
	width:100%;
	float:none;
	overflow:hidden;

}
}





