@charset "utf-8";

:root {
  /* 色 */

  /* 余白 */
}

.news__main{
    margin-bottom: 40px;
  }

.news__category{
    padding: 10px 40px;
    margin-left: 20px;
    background-color: #F8F6F2;
  }

.news__title{
    margin: 20px 0px;
    font-size: 18px;
    font-weight: 700;
    border-bottom: solid 3px #F8F6F2;
  }

.news .wp_content > *:not(:first-child) {
        margin-top: 10px;
      }

.news .wp_content .wp-block-button__link {
        display: block;
        width: 100%;
        position: relative;
        max-width: 280px;
        color: #fff;
        text-align: center;
        font-size: 1.6rem;
        font-weight: bold;
        background-color: #F6808A;
        border-radius: 28px;
        padding: 12px 14px;
        transition: opacity 120ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
      }

.news .wp_content .wp-block-button__link:hover {
          opacity: 0.8;
        }

.news .wp_content a:not(:has(img), .wp-element-button) {
      padding-bottom: 1px;

      background: linear-gradient(currentColor, currentColor) no-repeat;

      background-size: 100% 1px;
      background-position: left bottom;

      color: #F6808A;

      transition: background-size 500ms;
    }

.news .wp_content a:not(:has(img), .wp-element-button):hover {
        background-size: 0% 1px;
        background-position: right bottom;
      }

.news .wp_content a:has(img) {
      display: inline-block;
      opacity: 1;

      transition: opacity 120ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
    }

.news .wp_content a:has(img):hover {
        opacity: 0.8;
      }

/* トップ お知らせ */

.list_news {
  height: 226px;
  overflow-y: scroll;
}

.list_news__item {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
  }

.list_news__item:not(:last-child) {
      margin-bottom: 20px;
    }

.list_news__date, .list_news__category, .list_news__title {
    line-height: 1.3333;
  }

.list_news__date {
    width: 85px;
    flex-shrink: 0;
    flex-grow: 0;
  }

.list_news__category {
    width: auto;
    flex-shrink: 0;
    flex-grow: 0;

    text-align: center;
  }

.list_news__category:not(:empty) {
      display: block;

      padding: 4px 10px;
      background-color: #5DCA72;
      border-radius: 16px;
      color: #fff;
    }

.list_news__title {
    padding-left: 20px;

    font-weight: bold;
  }

.list_news .icon-pin {
    margin-right: 4px;
    color: #5DCA72;
  }

.list_news__link {
    text-decoration: underline;
  }

.list_news__link:hover {
      text-decoration: none;
    }

.list_news__content {
    width: 100%;

    line-height: 1.75;

    margin-left: calc(80px + 3px);
    margin-top: 10px;
  }

.list_news__content > *:not(:first-child) {
        margin-top: 10px;
      }

.list_news__content .wp-block-button__link {
        display: block;
        width: 100%;
        position: relative;
        max-width: 280px;
        color: #fff;
        text-align: center;
        font-size: 1.6rem;
        font-weight: bold;
        background-color: #F6808A;
        border-radius: 28px;
        padding: 12px 14px;
        transition: opacity 120ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
      }

.list_news__content .wp-block-button__link:hover {
          opacity: 0.8;
        }

.list_news__content a:not(:has(img), .wp-element-button) {
      padding-bottom: 1px;

      background: linear-gradient(currentColor, currentColor) no-repeat;

      background-size: 100% 1px;
      background-position: left bottom;

      color: #F6808A;

      transition: background-size 500ms;
    }

.list_news__content a:not(:has(img), .wp-element-button):hover {
        background-size: 0% 1px;
        background-position: right bottom;
      }

.list_news__content a:has(img) {
      display: inline-block;
      opacity: 1;

      transition: opacity 120ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
    }

.list_news__content a:has(img):hover {
        opacity: 0.8;
      }

@media screen and (max-width: 479px) {
    .list_news__data, .list_news__category {
      font-size: 0.875em;
    }
      .list_news__category:not(:empty) {
        padding: 2px 6px;
      }
    .list_news__title {
      width: 100%;
      padding-left: 0;
      margin-top: 8px;
    }
    .list_news__content {
      margin-left: 0;

      background-color: #f3f3f3;

      padding: 12px;
    }
  }

/*
  .news_table{
    width: 100%;
    &__date{
      padding-top: 10px;
      width: 10%;
      text-align: center;
    }
    &__category{
      padding-top: 10px;
      width: 10%;
      text-align: center;
      &__gray{
        background-color: #f3f4f4;
      }
    }
    &__title{
      padding: 10px 0px 0px 20px;
      width: 80%;
      font-size: 15px;
      font-weight: 600;
      a{
        border-bottom: solid 1px #333;
      }
      a:hover{
        border-bottom: none;
      }
    }
    &__content{
      padding: 10px;
    }
  }
  @media screen and (max-width: 820px) {
    .news_table{
      &__date{
        width: 30%;
        text-align: left;
        display: inline-block;
      }
      &__category{
        width: 30%;
        text-align: center;
        display: inline-block;
        padding-top: 10px;
        &__gray{
          font-size: 10px;
          background-color: #f3f4f4;
        }
      }
      &__title{
        padding: 0px;
        width: 100%;
        display: inline-block;
        font-weight: bold;
      }
    }
  }
  */
/*# sourceMappingURL=news.css.map */