@charset "UTF-8";

/***************  TOPICS *****************/
.topics_page{
  background-image: url(../img/topics/sub_main_topics.jpg);
  position: relative;
}

.hero_sub::before{
  content: "";
  display: inline-block;
  background: rgba(0,0,0,.2);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 28px;
}

.hero_sub h2{
  position: relative;
}

/***************  TOPICS LIST *****************/
.topics_area{
  margin-top: 65px;
  margin-bottom: 55px;
}

.news__panel{
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px 34px 22px;
}

.news__list{
  width: 100%;
}

.news__row{
  display: grid;
  grid-template-columns: 95px 135px 1fr;
  align-items: center;
  column-gap: 22px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(143,208,239,.65);
  text-decoration: none;
}

.news__date{
  font-weight: 700;
  color: #1a2731;
  letter-spacing: .02em;
}

.news__cat{
  width: fit-content;
  background: #626262;
  color: #fff;
  font-weight: 800;
/*  font-size: 10px; */
  letter-spacing: .04em;
  padding: 9px 16px;
  border-radius: 999px;
  width: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news__text{
  font-weight: 600;
  color: #1a2731;
  line-height: 1.7;
  letter-spacing: .02em;
}

/* hover */
.news__row:hover{
  background: linear-gradient(90deg, rgba(143,208,239,.08), transparent 55%);
}

/* pager */
.evt__pager{
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 14px;
  margin-top: 35px;
  flex-wrap: wrap;
}
.evt__pagerBtn,
.evt__pagerNum{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 28px;
  min-width: 28px;
  font-size: 13px;
}
.evt__pagerNum.is-current{
  font-weight: 800;
}
.evt__pagerBtn.is-disabled{
  opacity: .35;
  pointer-events: none;
}


.scroll_button{
  margin: 55px auto 80px;
}
.scroll_button .switch{
  display: flex;
  max-width: 820px;
  margin: 0 auto;
  gap: 24px;
}
.scroll_button .switchBtn{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  border-top: 1px solid #9d9d9d;
  border-bottom: 1px solid #9d9d9d;
  transition: .25s;
}
.scroll_button .switchBtn:hover{
  background: #c70012;
  opacity: .85;
  color: #fff;
}
.scroll_button .switchBtn::after{
  content: "→";
  font-size: 18px;
}
.scroll_button .switchBtn.on{
  background: #c70012;
  color: #fff;
}

.wp-pagenavi {
    clear: both;
    margin: 30px auto 20px;
    text-align: center;
}
.wp-pagenavi a, .wp-pagenavi span {
    margin: 2px 5px;
}
/***************  RESPONSIVE *****************/
@media (max-width: 960px){
  .news__panel{
    padding: 10px 18px 18px;
  }
}

@media (max-width: 820px){
.topics_area {
    margin-top: 0;
    margin-bottom: 0;
	}
.scroll_button {
    margin: 45px auto 40px;
	}
}

@media (max-width: 768px){
  .wp-pagenavi {
    clear: both;
    margin: 30px auto 20px;
    text-align: center;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 6px;
  }

  .wp-pagenavi a,
  .wp-pagenavi span {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
  }
}
@media (max-width: 767px){
.scroll_button .switch {
    gap: 18px;
	}
.scroll_button .switchBtn {
	padding: 15px 5px;
    font-size: 14px;
	}
}

@media (max-width: 640px){
  .news__row{
    grid-template-columns: auto 1fr;
    row-gap: 6px;
    padding: 18px 2px;
  }

  .news__date{
    font-size: 13px;
    white-space: nowrap;
  }

.news__cat {
    font-size: 10px;
    padding: 6px 10px;
    align-self: center;
    margin-left: -12px;
	width: fit-content;
	}

  .news__text{
    grid-column: 1 / -1;  /* 2列をまたぐ */
    font-size: 13px;
  }
}

/***************  TOPICS detail *****************/
.confDetail__body {
	line-height: 1.585;
}
.confDetail__body a {
	text-decoration: underline;
}
.confDetail__body a:hover {
	text-decoration: none;
}
.confDetail__cat {
    width: fit-content;
    background: #626262;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .04em;
    padding: 9px 16px;
    margin-bottom: 20px;
    border-radius: 999px;
}
.confDetail__body p {
	margin-bottom: 15px;
}
@media (max-width: 767px){
.confDetail__body {
    font-size: 14px;
	}
.confDetail__cat {
    font-size: 10.75px;
	}
}


