@charset "utf-8";

/**
 *
 *  ページ用CSS
 *　topics
 */

/*--------------------------------------------------------------------------
   Overwright
---------------------------------------------------------------------------*/
.page-ttl{
  background-image: url(../img/topics/bg_page_ttl_pc.jpg);  
}

/*--------------------------------------------------------------------------
   Content
---------------------------------------------------------------------------*/

/* topics-list-box
-----------------------------------------------------------------*/
.topics-list-box{
  padding: 90px 9% 100px;  
}
.topic-list{
  margin-bottom: 70px;
  border-top: 1px solid #f1f1f1;
}
.topic-list > div{
  padding: 40px 20px;
  border-bottom: 1px solid #f1f1f1;  
}
.topic-list dt {
  min-width: 146px;
  width: 25%;
  padding-right: 20px;
}
.topic-list dd {
  width: calc(75% - 60px);
}
.topic-list a::after{
  position:absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  content: "";
  width: 47px;
  height: 7px;
  background:url(../img/common/arw_btn_long_bk.svg) no-repeat;
  background-size: 100% auto;
  transition: .3s;  
}
.topic-list a:hover::after{
  right: 10px;  
}

.pagination{
  display: flex;
  justify-content: center;
  width: 100%;
  padding:0 10px;  
}
.pagination li{
  margin: 0 5px;  
}
.pagination li a{
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  padding-top: 9px;
  border: 1px solid #bdbdbd;
  border-radius: 3px;
  text-align: center;
  line-height: 1;
  font-size: 1.8rem;
  transition: .2s;  
}
.pagination li a:hover{
  border-color: transparent;
  background: linear-gradient(0deg, rgba(0,135,239,1) 0%, rgba(0,101,179,1) 100%);
  color: #FFF;
  font-weight: 500;  
}
.pagination .next{
  margin-left: 15px;  
}
.pagination .prev{
  margin-right: 15px; 
}
.pagination .next a,
.pagination .prev a{
  overflow: hidden;
  border-color: #0077d3;
  text-indent: -100px;  
}
.pagination .next a::before,
.pagination .prev a::before{
  position:absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  display: block;
  content: "";
  width: 17px;
  height: 5px;
  background: url(../img/common/arw_btn.svg) no-repeat;
  background-size: 100% auto;
  transform-origin: center center;  
}
.pagination .prev a::before{
  transform: scale(-1, 1) translate(50%,-50%);
}
.pagination .next a:hover::before,
.pagination .prev a:hover::before{
  background-image: url(../img/common/arw_btn_w.svg);
}




/* topics-detail
-----------------------------------------------------------------*/
.topics-detail{
	padding: 90px 8% 100px;
}
.topics-detail .date{
	margin-bottom: 20px;
	color: #999;
	font-size: 1.5rem;
}
.topics-detail h2{
	margin-bottom: 40px;
	font-size: 2.8rem;
	line-height: 1.5;
	color: #0077d3;
}
.topics-detail h3{
	margin-top: 40px;
	padding-bottom: 10px;
	font-size: 2rem;
	line-height: 1.5;
	border-bottom: 1px solid #0077d3;
}
.topics-detail h4{
	margin-top: 30px;
	font-size: 1.7rem;
	font-weight: bold;
}
.topics-detail h4+p{
	margin-top: 5px;
}
.topics-detail p{
	margin-top: 25px;
	line-height: 2;
	font-size: 1.5rem;
	text-align: justify;
}
.topics-detail a{
    color: #0089f2;
    text-decoration: none;
}
.topics-detail a:hover{
    text-decoration: underline;
}
.topics-detail .btn-line a{
    color: #333;
}
.topics-detail .btn-line a:hover{
    color: #fff;
    text-decoration: none;
}
.topics-detail .btn{
	max-width: 312px;
	margin: 90px auto 0;
}






/*--------------------------------------------------------------------------
   mobile
---------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {

.page-ttl{
  background-image: url(../img/topics/bg_page_ttl_sp.jpg);  
}


/* topics-list-box
-----------------------------------------------------------------*/
  .topics-list-box{
    padding: 50px 25px 55px;  
  }
  .topic-list{
    margin-bottom: 48px;
  }
  .topic-list > div{
    padding: 30px 10px; 
  }
  .topic-list dt {
    width: 100%;
    padding-right: 0;
  }
  .topic-list dd {
    width: 100%;
  }
  .topic-list a{
    padding-right: 45px;
  }
  .topic-list a::after{
    right: 10px;
    width: 25px;
    height: 4px;  
  }
  
  .pagination{
    display: flex;
    justify-content: center;
    width: 100%;  
  }
  .pagination li{
    margin: 0 5px;  
  }
  .pagination li a{
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    padding-top: 9px;
    border: 1px solid #bdbdbd;
    border-radius: 3px;
    text-align: center;
    line-height: 1;
    font-size: 1.8rem;
    transition: .2s;  
  }
  .pagination li a:hover{
    border-color: transparent;
    background: linear-gradient(0deg, rgba(0,135,239,1) 0%, rgba(0,101,179,1) 100%);
    color: #FFF;
    font-weight: 500;  
  }
  .pagination .next{
    margin-left: 15px;  
  }
  .pagination .prev{
    margin-right: 15px; 
  }
  .pagination .next a,
  .pagination .prev a{
    overflow: hidden;
    border-color: #0077d3;
    text-indent: -100px;  
  }
  .pagination .next a::before,
  .pagination .prev a::before{
    position:absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    display: block;
    content: "";
    width: 17px;
    height: 5px;
    background: url(../img/common/arw_btn.svg) no-repeat;
    background-size: 100% auto;
    transform-origin: center center;  
  }
  .pagination .prev a::before{
    transform: scale(-1, 1) translate(50%,-50%);
  }
  .pagination .next a:hover::before,
  .pagination .prev a:hover::before{
    background-image: url(../img/common/arw_btn_w.svg);
  }



/* topics-detail
-----------------------------------------------------------------*/
	.topics-detail{
		padding: 40px 20px 60px;
	}
	.topics-detail .date{
		font-size: 1.4rem;
	}
	.topics-detail h2{
		margin-bottom: 30px;
		font-size: 2rem;
	}
	.topics-detail h3{
		margin-top: 30px;
		padding-bottom: 5px;
		font-size: 1.6rem;
	}
	.topics-detail h4{
		margin-top: 30px;
		font-size: 1.4rem;
	}
	.topics-detail p{
		margin-top: 20px;
		line-height: 1.8;
		font-size: 1.4rem;
	}
    .topics-detail img{
		width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
	}
	.topics-detail .btn{
		margin: 50px auto 0;
	}



}