@charset "utf-8";

/* CSS Document */

/* newslistpage */

.news .st-news{margin-bottom: 50px;}

.st-pagenavi{}

.wp-pagenavi{
  display: flex;
  justify-content: center;
  }
  .wp-pagenavi span,
  .wp-pagenavi a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    margin-right: 7px;
    margin-left: 7px;
    border: 1px solid rgba(var(--color-BondiBlue),1);
    border-radius: 50%;
    transition: .3s;
    }
    .wp-pagenavi a:hover,
    .wp-pagenavi .current{
      color: rgba(var(--color-White),1);
      background-color: rgba(var(--color-BondiBlue),1);
      }
    .wp-pagenavi .nextpostslink,
    .wp-pagenavi .previouspostslink{
      overflow: hidden;
      text-indent: -99999px;
      border: 0;
      position: relative;
      }
      .wp-pagenavi .nextpostslink:hover,
      .wp-pagenavi .previouspostslink:hover{
        background-color: rgba(var(--color-BondiBlue),0);
        opacity: .6;
        }
      .wp-pagenavi .nextpostslink::before,
      .wp-pagenavi .previouspostslink::before{
        content: "";
        width: 35px;
        height: 35px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 18px;
        position: absolute;
        top: 0;
        left: 0;
        }
        .wp-pagenavi .nextpostslink::before{background-image: url(../img/common/arrow-s-r-blue.svg);}
        .wp-pagenavi .previouspostslink::before{background-image: url(../img/common/arrow-s-l-blue.svg);}

        .wp-pagenavi .extend{display: none;}

/* newssinglepage */
.newssinglepage .st-seccontents {
  padding-right: 20px;
  padding-left: 20px;
  }

.nws-block{
  max-width: 900px;
  margin: 0 auto;
  margin-bottom: 80px;
  }
  .nws-head{margin-bottom: 40px;}
    .nws-head_title{
      --viewport-from: 476;
      --font-size-from: 20;
      --min-font-size: 20;
      --viewport-to: 992;
      --font-size-to: 30;
      --max-font-size: 30;
      font-weight: bold;
      line-height: 1.4;
      }

  .nws-data{
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    }
    .nws-data_date{line-height: 1.2;}
    .nws-data_category{
      display: flex;
      align-items: center;
      justify-content: center;
      width: 130px;
      height: 25px;
      margin-right: 30px;
      border: 1px solid rgba(var(--color-BondiBlue),1);
      }
      .nws-data_category span {
        font-size: var(--fontsize-2s);
        color: rgba(var(--color-BondiBlue),1);
        }
    .nws-contents{
      margin-bottom: 30px;
      font-weight: 400;
      line-height: 2;
      }
      .nws-contents a{color: rgba(var(--color-BondiBlue),1);}
        .nws-contents a:hover{text-decoration: underline;}
        .nws-contents a[target="_blank"]::after{
          overflow: hidden;
          display: inline-block;
          content: "外部リンク";
          width: 14px;
          height: 14px;
          margin-left: 5px;
          text-indent: -9999px;
          background-image: url(../img/common/icon-externallink.svg);
          background-repeat: no-repeat;
          background-size: 100%;
          }
    .nws-contents h2{
      margin-bottom: 20px;
      padding-bottom: 10px;
      --viewport-from: 476;
      --font-size-from: 18;
      --min-font-size: 18;
      --viewport-to: 992;
      --font-size-to: 26;
      --max-font-size: 26;
      font-weight: bold;
      line-height: 1.4;
      font-weight: bold;
      border-bottom: 2px solid rgba(var(--color-Ebony),1);
      }
    .nws-contents ul{padding-left: 1em;}
      .nws-contents li{
        line-height: 1.6;
        list-style: disc;
        }
        .nws-contents li:not(:last-of-type){margin-bottom: 7px;}

    .nws-tag{
      margin-bottom: 50px;
      padding-bottom: 30px;
      border-bottom: 1px solid rgba(var(--color-VeryLightGrey),1);
      }
      .nws-tag a{
        padding-top: 5px;
        padding-right: 10px;
        padding-bottom: 5px;
        padding-left: 10px;
        border: 1px solid rgba(var(--color-Nobel),1);
        border-radius: 15px;
        pointer-events: none;
        font-size: var(--fontsize-3s);
        color: rgba(var(--color-Nobel),1);
        }
      .nws-tag a:not(:last-of-type){margin-right: .5em;}

.nws-block .sw-textbutton{
  display: flex;
  justify-content: center;
  }

@media screen and (max-width: 1400px) {}/* max-width: 1400px */
@media screen and (max-width: 1200px) {}/* max-width: 1200px */
@media screen and (max-width: 992px) {}/* max-width: 992px */

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

.nws-list_box{
  flex-wrap: wrap;
  padding-top: 15px;
  padding-bottom: 15px;
  }
  .nws-list_date{margin-bottom: 5px;}
  .nws-list_category{margin-bottom: 5px;}
  .nws-list_title{width:  100%;}

.nws-contents .wp-block-table{
  overflow-x: auto;
  position: relative;
  }
  .nws-contents .wp-block-table::before{
    content: "横にスクロールできます→";
    font-size: var(--fontsize-2s);
    font-weight: bold;
    color: rgba(var(--color-OrangeRed),1);
    position: sticky;
    top: 0;
    left: 0;
    }
.nws-contents .wp-block-table table{width: 800px;}

}/* max-width: 768px */

@media screen and (max-width: 576px) {}/* max-width: 576px */

@media screen and (max-width: 476px) {}/* max-width: 476px */