@charset "utf-8";
/* ---------------------------------------- 
 - news（一覧）
---------------------------------------- */
#news {
  width: 100%;
  max-width: 1200px;
  position: relative;
  margin: 0 auto;
  background: #fff;
  padding: 60px 0;
}
.news-inner {
  width: 90%;
  max-width: 1000px;
  position: relative;
  margin: 0 auto;
}
#news ul.list {
  text-align: left;
  margin: 0 auto 60px;
}
#news ul.list li {
  margin-bottom: 2.5em;
  padding-bottom: 2.5em;
  border-bottom: solid 1px #c7c7c7;
  padding-left: 0.5em;
}
#news ul.list li a {
  width: 100%;
  text-decoration: none;
  display: flex;
}
#news ul.list li .date {
  font-size: 1.4rem;
  color: #5a5a5a;
  width: 8em;
}
#news ul.list li .ttl {
  line-height: 1.8;
  width: calc(100% - 15em);
  flex: 1;
}
#news ul.list li a:hover .ttl {
  text-decoration: underline;
}
/* list-pager */
#news .list-pager {
  max-width: 450px;
  margin: 0 auto;
}
#news .list-pager ul {
  display: flex;
  justify-content: center;
  align-items: center;
}
#news .list-pager ul li {
  display: inline-block;
  padding: 0 2px;
  font-size: 1.4rem;
}
#news .list-pager ul li a {
  display: block;
  padding: 5px;
  transition: all 0.3s;
  letter-spacing: 0.1em;
  min-width: 50px;
  min-height: 50px;
  line-height: 38px;
  text-align: center;
  box-sizing: border-box;
  text-decoration: none;
  position: relative;
  height: 100%;
  background: #fff;
  border: solid 1px #c7c7c7;
}
#news .list-pager ul li span {
  display: block;
  padding: 5px;
  transition: .3s;
  letter-spacing: 0.1em;
}
#news .list-pager ul li a:hover {
  opacity: 0.6;
}
#news .list-pager ul li a.active {
  background: #153ea6;
  color: #fff;
}
#news .list-pager ul li.prev a::after, #news .list-pager ul li.next a::after {
  content: '';
  display: inline-block;
  background-size: contain;
  vertical-align: text-bottom;
  background-position: left top;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 10px;
  background-image: url(/demitasnx/assets/images/common/ico_arw_blue.svg);
  transform: translate(-50%, -50%);
  transition: .3s;
}
#news .list-pager ul li.prev a::after {
  background-image: url(/demitasnx//assets/images/common/ico_arw_prev_blue.svg);
}
@media screen and (max-width: 768px) {
  #news {
    padding: 40px 0;
  }
  #news ul.list {
    margin-bottom: 50px;
  }
  #news ul.list li {
    margin-bottom: 2em;
  }
  #news ul.list li a {
    display: block;
    position: relative;
  }
  #news ul.list li .date {
    font-size: 1.2rem;
  }
  #news ul.list li .ttl {
    width: 100%;
  }
  #news .link-btn_wrap {
    margin-top: 40px;
    width: 100%;
  }
  #news .link-btn_wrap .link-btn {
    padding: 0 15px;
  }
  /* list-pager */
  #news .list-pager ul li {
    display: inline-block;
    padding: 0 2px;
    font-size: 1.3rem;
  }
  #news .list-pager ul li a {
    min-width: 36px;
    min-height: 36px;
    line-height: 24px;
  }
  #news .list-pager ul li span {
    padding: 5px 0;
  }
}
@media screen and (max-width: 480px) {
  /* list-pager */
  #news .list-pager {
    margin-bottom: 50px;
  }
  #news .list-pager ul li {
    font-size: 1.3rem;
  }
}

/* ---------------------------------------- 
 - news-detail（詳細）
---------------------------------------- */
#news-detail {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
  background: #fff;
}
#news-detail-inner {
  width: 90%;
  max-width: 850px;
  margin: 0 auto;
  text-align: left;
}
.news-detail-ttl {
  margin: 0 auto 40px;
  padding-bottom: 30px;
  text-align: left;
  border-bottom: solid 1px #c7c7c7;
}
.news-detail-ttl .date {
  font-size: 1.4rem;
  color: #5a5a5a;
  margin-bottom: 1.0em;
}
.news-detail-ttl .ttl {
  font-size: 2.2rem;
  text-align: left;
  line-height: 1.6;
  margin-bottom: 0.8em;
}
.news-detail-ttl .category {
  color: #657568;
}
.news-detail-box h1 {
  font-size: 2.2rem;
  line-height: 1.6;
  margin: 1.5em 0;
}
.news-detail-box h2 {
  font-size: 1.8rem;
  line-height: 1.6;
  margin: 1.5em 0;
}
.news-detail-box h3 {
  font-size: 1.6rem;
  margin: 1.2em 0;
  line-height: 1.6;
}
.news-detail-box h4 {
  font-size: 1.4rem;
  margin: 1.2em 0;
}
.news-detail-box h5 {
  font-size: 1.3rem;
  margin: 1.2em 0;
}
.news-detail-box h6 {
  font-size: 1.2rem;
  margin: 1.2em 0;
}
.news-detail-box a:hover {
  text-decoration: none;
}
.news-detail-box p {
  margin: 1.0em 0;
}
.news-detail-box img {
  margin: 1.0em 0;
  width: auto;
  max-width: 100%;
}
.news-detail-box table {
  width: 100%;
  margin: 1.0em 0;
  box-sizing: border-box;
  border-top: solid 1px #c7c7c7;
  border-left: solid 1px #c7c7c7;
  border-spacing: 0;
}
.news-detail-box table th {
  padding: 10px;
  box-sizing: border-box;
  border-right: solid 1px #969ea7;
  border-bottom: solid 1px #969ea7;
  background: #e3ebf5;
  vertical-align: middle;
}
.news-detail-box table td {
  padding: 10px;
  box-sizing: border-box;
  border-right: solid 1px #c7c7c7;
  border-bottom: solid 1px #c7c7c7;
  vertical-align: middle;
}
/* news-detail-back */
.news-detail-back {
  text-align: center;
  margin-top: 60px;
}
.news-detail-back a::after {
  display: none;
}
@media screen and (max-width: 768px) {
  #news-detail {
    padding: 40px 0;
  }
  .news-detail-ttl {
    margin-bottom: 25px;
    padding-bottom: 25px;
  }
  .news-detail-ttl .date {
    margin-bottom: 0.5em;
  }
  .news-detail-ttl .ttl {
    font-size: 1.6rem;
  }
  .news-detail-box h2 {
    font-size: 1.6rem;
  }
  .news-detail-box h3 {
    font-size: 1.5rem;
  }
  .news-detail-box table th {
    padding: 7px;
  }
  .news-detail-box table td {
    padding: 7px;
  }
  /* news-detail-back */
  .news-detail-back {
    margin-top: 40px;
  }
}