@charset "utf-8";
/* CSS Document */

/*==============================================================

 リンク

===============================================================*/

.article-body a {
  /* color: #00a8e9; */
}

.article-body ul li a {
  /* color: #1c1b1a; */
}

.article-body a:not(.m-login-btns__btn):hover {
  text-decoration: underline;
}


/*==============================================================

ページ移行 pager

===============================================================*/

.article-body .pager {
  text-align: center;
  margin: 30px 10px;
}

.article-body .pager ul {
  padding: 0;
}

.article-body .pager ul li {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: bold;
  list-style: none;
  border-right: solid 1px #dbd9d9;
  padding: 0 20px;
  margin-bottom: 10px;
}

.article-body .pager ul li a {
  font-weight: normal;
}

.article-body .pager ul li a:hover {
  text-decoration: underline;
}

.article-body .pager ul li:last-child {
  border: none;
}

/* PC */
@media print,screen and (min-width: 769px) {
  .article-body .pager {
    text-align: center;
    margin: 30px 10px;
  }

  .article-body .pager ul {
    padding: 0;
  }

  .article-body .pager ul li {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: bold;
    list-style: none;
    border-right: solid 1px #dbd9d9;
    padding: 0 20px;
    margin-bottom: 10px;
  }

  .article-body .pager ul li a {
    font-weight: normal;
  }

  .article-body .pager ul li a:hover {
    text-decoration: underline;
  }

  .article-body .pager ul li:last-child {
    border: none;
  }
}


/*==============================================================

標準ボタン

===============================================================*/

.article-body .c-btn:not(.m-login-btns__btn),
.m-sidebar .c-btn:not(.m-login-btns__btn) {
  font-size: 1.4rem;
  font-weight: bold;
  text-align: left;
  text-decoration: none !important;
  line-height: 1;
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
  padding: 14px 40px 14px 20px;;
  color: #1c1b1a !important;
  border: solid 1px #595652;
  border-radius: 2px;
  background-color: #fff;
  box-shadow: 3px 3px 1px 1px #fff;
}

/*.article-body .c-btn a,
.m-sidebar .c-btn a {
  color: #FFF;
}*/

.article-body .c-btn:not(.m-login-btns__btn):after,
.m-sidebar .c-btn:not(.m-login-btns__btn):after {
  position: absolute;
  top: 0px;
  bottom: 0px;
  right: 20px;
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: auto 6px auto 0;
  content: "";
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  border-top: 2px solid #595652;
  border-right: 2px solid #595652;
}
.article-body .c-btn:not(.m-login-btns__btn):hover,
.m-sidebar .c-btn:not(.m-login-btns__btn):hover {
  background-color: #595652;
  font-weight: normal;
  color: #fff !important;
}
.article-body .c-btn:not(.m-login-btns__btn):hover:after,
.m-sidebar .c-btn:not(.m-login-btns__btn):hover:after {
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.article-body .c-btn:not(.m-login-btns__btn).is-aimari {
  font-weight: bold;
  background-color: #ed6199;
  border: solid 2px #fff;
  box-shadow: 3px 3px 3px 3px rgba(237 97 153 / 40%);
  color: #fff !important;
}
.article-body .c-btn:not(.m-login-btns__btn).is-aimari:after {
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.article-body .c-btn:not(.m-login-btns__btn).is-aimari:hover {
  opacity: .7;
}

/*==============================================================

画像ボタン

===============================================================*/

.article-body .m-header-nav-subunit-menu-list-links-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 30px;
  -ms-flex-align: start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: start;
  align-items: flex-start;
}

.article-body .m-header-nav-subunit-menu-list-links-icon__item {
  display: block;
  flex-basis: calc(25% - 10px);
  min-width: initial;
  max-width: initial;
  margin: 0 10px 20px 0;
  text-align: center;
}

.article-body .m-header-nav-subunit-menu-list-links-icon__item:hover {
  text-decoration: none;
}

.article-body .m-header-nav-subunit-menu-list-links-icon__item-text {
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.4;
  display: block;
  margin-top: 5px;
  color: #1c1b1a;
}
@media screen and (max-width: 768px) {
  /***** SP-CSS *****/
  .article-body .m-header-nav-subunit-menu-list-links-icon__item {
    flex-basis: calc(50% - 10px);
  }
}

/* 静的ページヘッダー用_画像ボタン */
.u-mb20 .m-header-nav-subunit-menu-list-links-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 30px;
  -ms-flex-align: start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: start;
  align-items: flex-start;
}

.u-mb20 .m-header-nav-subunit-menu-list-links-icon__item {
  display: block;
  flex-basis: calc(25% - 10px);
  min-width: initial;
  max-width: initial;
  margin: 0 10px 20px 0;
  text-align: center;
}

.u-mb20 .m-header-nav-subunit-menu-list-links-icon__item:hover {
  text-decoration: none;
}

.u-mb20 .m-header-nav-subunit-menu-list-links-icon__item-text {
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.4;
  display: block;
  margin-top: 5px;
  color: #1c1b1a;
}
@media screen and (max-width: 768px) {
  /***** SP-CSS *****/
  .u-mb20 .m-header-nav-subunit-menu-list-links-icon__item {
    flex-basis: calc(50% - 10px);
  }
}

/*
リッチエディタver
---------------------------------------------------------*/
.article-body .m-header-nav-subunit-menu-list-links-icon__item.--richeditor:hover {
  opacity: .7;
}
.article-body .m-header-nav-subunit-menu-list-links-icon__item.--richeditor span {
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.4;
  display: block;
  margin-top: 5px;
  color: #1c1b1a;
}


/*==============================================================

画像イメージ　中央揃え

===============================================================*/

.article-body .img-set {
  width: 100%;
  margin: 30px auto;
}

.article-body .img-set figure {
}

.article-body .img-set figure img {
  display: block;
  max-width: 100%;
  margin: 0 auto 5px;
}

.article-body .img-set figure figurecaption {
  font-size: 1.3rem;
  color: #999;
  line-height: 1.3em;
}

/* PC */
@media print,screen and (min-width: 768px) {
  .article-body .img-set {
    width: 700px;
    text-align: center;
    margin: 30px auto;
  }

  .article-body .img-set figure　{
  }

  .article-body .img-set figure img {
    display: block;
    max-width: 100%;
    max-height: 600px;
    margin: 0 auto 5px;
  }

  .article-body .img-set figure figurecaption {
    font-size: 0.8em;
    color: #999;
    text-align: center;
    line-height: 1.3em;
  }
}


/*==============================================================

サイドバー

===============================================================*/

.m-sidebar {
  margin-bottom:  20px;
  padding: 16px;
  background-color: #fff;
  border: solid 1px #e6e6e6;
}
.m-sidebar h3 {
  margin-bottom: 10px;
  font-size: 1.6rem;
}
.m-sidebar .c-btn {
  display: block !important;
}
.m-sidebar a:hover img {
  opacity: 0.7;
}


/*==============================================================

ページ個別のスタイル

===============================================================*/

/*
にいがた、びより（記事以外）
---------------------------------------------------------*/
.md_biyori-infolist {
  padding: 10px;
  border: solid 1px #f1caca;
  background: #fefafa;
}
.md_biyori-infolist p {
  position: relative;
  margin-bottom: 10px;
  padding-left: 65px;
  font-size: 1.4rem;
}
.md_biyori-infolist p::before {
  content: 'INFO';
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  line-height: 1.6;
  padding: 2px 10px;
  margin-right: 10px;
  color: #fff;
  background-color: #d15858;
}
.md_biyori-infolist p.is_pr::before {
  content: 'PR';
  background-color: #5890d1;
}
.md_biyori-infolist p a {
  text-decoration: none;
  color: #1c1b1a;
}
.md_biyori-infolist p a:hover {
  text-decoration: underline;
}

/*
新型ウイルス
---------------------------------------------------------*/
#coronavirus-header .md_relatedLink {
  position: relative;
  border: solid 1px #595652;
  border-radius: 3px;
  margin: 0 0 20px;
  padding: 10px;
  line-height: 1.6;
}
#coronavirus-header .md_relatedLink a {
  display: block;
  font-size: 1.4rem;
  color: #1c1b1a;
}
/*
#coronavirus-header .md_relatedLink:before {
  content: "関連リンク";
  position: absolute;
  top: -10px;
  left: 16px;
  background: #fafafa;
  color: #000;
  width: 70px;
  margin: auto;
  padding: 0 10px;
  font-size: 1.4rem;
  text-align: center;
}
*/
#coronavirus-header .md_relatedLink span {
  display: block;
}
@media print, screen and (min-width: 769px) {
  /***** PC-CSS *****/
  #coronavirus-header .md_relatedLink {
    margin: 0 0 20px;
  }
  #coronavirus-header .md_relatedLink:before {
    background: #fafafa;
  }
  #coronavirus-header .md_relatedLink span {
    display: inline-block;
  }
}
#coronavirus-header .size_mask {
  font-size: 0.9rem;
  top: -8px;
  margin: 0 10px 20px;
}

/*
停電・断水
---------------------------------------------------------*/
#teiden-dansui-header .post_box {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
}
#teiden-dansui-header .post_box li {
  list-style: none;
  margin-right: 20px;
}

/*
参院選2022
---------------------------------------------------------*/
#sanin2022-header .m-header-nav-subunit-menu-list-links-icon.\--digikan .c-icon {
  padding-top: 29.41%;
}
#sanin2022-header .post_box {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  justify-content: center;
}
#sanin2022-header .post_box li {
  list-style: none;
  margin-right: 20px;
}

/*
衆院選2024
---------------------------------------------------------*/
#syuin2024-header .m-header-nav-subunit-menu-list-links-icon__item-text--top {
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.4;
  display: block;
  margin-bottom: 5px;
  color: #1c1b1a;
}
#syuin2024-header .m-header-nav-subunit-menu-list-links-icon {
  margin-bottom: 10px;
}
#syuin2024-header .m-header-nav-subunit-menu-list-links-icon__item {
  flex-basis: calc(25% - 20px);
  margin: 0 20px 20px 0;
}
#syuin2024-header a:hover .banner-img,
#syuin2024-header a:hover .banner-text {
  opacity: 0.7;
}
#syuin2024-header .m-header-nav-subunit-menu-list-links-icon .banner-text {
  width: calc(100% - 6px);
  font-weight: bold;
  text-decoration: none !important;
  line-height: 1;
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
  color: #1c1b1a !important;
  border: solid 3px #595652;
  border-radius: 100px;
  background-color: #fff;
}
#syuin2024-header .m-header-nav-subunit-menu-list-links-icon .banner-text::before {
  content: "";
  display: block;
  padding-top: calc((1 / 3)* 100% - 6px);
}
#syuin2024-header .m-header-nav-subunit-menu-list-links-icon .banner-text__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center; /* 垂直方向の中央揃え */
  text-align: center; /* テキストを中央揃え */
  font-size: 1.8rem;
}
#syuin2024-header .m-header-nav-subunit-menu-list-links-icon.square a {
  margin-right: 10px;
}

@media screen and (max-width: 768px) {
  /***** SP-CSS *****/
  #syuin2024-header .m-header-nav-subunit-menu-list-links-icon__item {
    flex-basis: calc(50% - 10px);
  }
  #syuin2024-header .m-header-nav-subunit-menu-list-links-icon__item:nth-child(2n) {
    margin: 0 0 20px 0;
  }
  #syuin2024-header .m-header-nav-subunit-menu-list-links-icon .banner-text__content {
    font-size: 1.6rem;
  }
}

/*
教育デジタル地図
---------------------------------------------------------*/
#kyouiku-digital-map-header .m-header-nav-subunit-menu-list-links-icon.\--digikan .c-icon {
  padding-top: 29.41%;
}

/*
都道府県議員・知事・政令市長アンケート 旧統一教会と政治の関係
---------------------------------------------------------*/
#toitsu-enquete-header .m-header-nav-subunit-menu-list-links-icon.\--digikan .c-icon {
  padding-top: 75%;
}

/*
ラグビーワールドカップ2023
---------------------------------------------------------*/
#rugby-wcup2023-header .m-header-nav-subunit-menu-list-links-icon.\--digikan .c-icon {
  padding-top: 66.67%;
}


/*
にいがた元気プラス
---------------------------------------------------------*/
#genki-plus-header .md_related-sites {
  display: flex;
  padding: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
  list-style-type: none !important;
  border: solid 1px #e6e6e6;
  background-color: #ffffff;
}
#genki-plus-header .md_related-sites li {
  flex-basis: 100%;
  background-image: none;
  padding-left: 0;
}
#genki-plus-header .md_related-sites li a {
  color: #1c1b1a;
}
#genki-plus-header .md_related-sites li figure {
  float: left;
  width: 90px;
  height: 90px;
  margin-right: 10px;
  background-position: 50% 20%;
  background-repeat: no-repeat;
  background-size: contain;
}
#genki-plus-header .md_related-sites li h3 {
  margin-bottom: 5px;
  font-weight: bold;
}
#genki-plus-header .md_related-sites li p {
  margin-top: 0;
  overflow: hidden;
}
@media print, screen and (min-width: 769px) {
  /***** PC-CSS *****/
  #genki-plus-header .md_related-sites li {
    flex-basis: calc(50% - 10px);
  }
}

/*
WBC2023
---------------------------------------------------------*/
#WBC2023-header .m-header-nav-subunit-menu-list-links-icon.\--digikan .c-icon {
  padding-top: calc(18 / 55 * 100%);
}

/*
新潟スポーツ記録
---------------------------------------------------------*/
#sports-record .post_box {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
}
#sports-record .post_box li {
  list-style: none;
  margin-right: 20px;
}
@media screen and (max-width: 768px) {
  .m-header-search-form.sports-record {
    width: 100%;
    height: 56px;
  }
}

/*
生育異変
---------------------------------------------------------*/
#ondanka-header .m-header-nav-subunit-menu-list-links-icon.\--digikan .c-icon {
  padding-top: calc(18 / 55 * 100%);
}

/*
明日へつなぐ
---------------------------------------------------------*/
#local-train-header .m-header-nav-subunit-menu-list-links-icon.\--digikan .c-icon {
  padding-top: calc(18 / 55 * 100%);
}

/*
ビジュアルニュースバナー（16:9用）
---------------------------------------------------------*/
.m-header-nav-subunit-menu-list-links-icon.is_1609.\--digikan .c-icon {
  padding-top: 56.25%;
}

/*
高校野球_ヘッダー用CSS
---------------------------------------------------------*/
.u-mb20 .m-header-nav-subunit-menu-list-links-button {
  flex-basis: calc(25% - 10px);
  padding-bottom: 40px;
}

.hsbb-btn-box {
  padding: 22% 0;
}

.hsbb-header-c-btn {
  font-size: 1.3rem;
  line-height: 1.5;
  display: block;
  max-width: 300px;
  padding: 12px 20px;
  cursor: pointer;
  text-align: center;
  color: #fff;
  border-radius: 3px;
  background-color: #595652;
}

.hsbb-header-c-btn:hover {
  text-decoration: none;
  color: #fff;
  border-color: #00a8e9;
  background-color: #00a8e9;
}

.hsbb-header-text-btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  flex-basis: calc(25% - 10px);
  min-width: initial;
  max-width: initial;
  margin: 0 10px 20px 0;
  text-align: center;
}

.hsbb-btn-box{
  padding: 0px !important;
}


/* SP版 */
@media screen and (max-width: 768px) {
  .u-mb20 .m-header-nav-subunit-menu-list-links-button {
    flex-basis: calc(50% - 10px);
    padding-bottom: 40px;
  }

  .hsbb-header-text-btn {
    flex-basis: calc(50% - 10px) ;
  }

  .hsbb-btn-box {
    padding: 13.4% 0;
  }
}