@charset "UTF-8";
/* NEWSページのスタイル
----------------------------------------------------------------- */
@layer pages {
  .dairyBox {
    width: 100%;
    margin-top: clamp(20.7px, 6.4166666667vw, 69.3px);
    margin-bottom: clamp(44px, 11.8888888889vw, 128.4px);
    margin-inline: auto;
    position: relative;
    z-index: 3;
  }
  .dairy__postBox {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: clamp(36px, 2.962962963vw, 32px);
  }
  .dairy__postItem {
    max-width: 651.3px;
    width: 100%;
  }
  .dairy__postInner {
    width: 100%;
    display: block;
    text-decoration: none;
    color: inherit;
  }
  .dairy__postLink {
    display: flex;
    align-items: flex-start;
    gap: 6.7px;
    position: relative;
    border: 1px solid #1B1449;
    background: var(--white);
    padding: 15.7px 23.5px 10.2px 20px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.16);
  }
  @media (max-width: 768px) {
    .dairy__postLink {
      padding: 17.7px 0 28.5px 21px;
      gap: 0;
    }
  }
  .dairy__postLink:hover {
    box-shadow: none;
    transform: translate(2px, 1px);
    transition: all 0.3s;
  }
  .dairy__postLink:hover .dairy__postText {
    text-decoration: none;
  }
  .dairy__postThumb {
    max-width: 226px;
    width: 100%;
    aspect-ratio: 227/142;
  }
  @media (max-width: 768px) {
    .dairy__postThumb {
      width: 95px;
      aspect-ratio: 95/91;
    }
  }
  .dairy__postThumbImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .dairy__postBody {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-block: 4.5px 19px;
  }
  @media (max-width: 768px) {
    .dairy__postBody {
      padding: 0 13px 0 9px;
    }
  }
  .dairy__postDate {
    display: block;
    background: var(--purple);
    color: var(--navy);
    padding: 8.8px 9px;
    font-weight: 600;
    font-size: clamp(12px, 1.4814814815vw, 16px);
    line-height: 1.25;
    letter-spacing: 0;
  }
  @media (max-width: 768px) {
    .dairy__postDate {
      line-height: 1.5;
      padding: 0px 8px;
      margin-right: 27px;
    }
  }
  .dairy__postTitle {
    padding-left: 10.4px;
    font-size: clamp(14px, 1.6666666667vw, 18px);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    color: #707070;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 9px;
  }
  .dairy__postText {
    font-size: clamp(10px, 1.4814814815vw, 16px);
    font-weight: 600;
    line-height: 1.4;
    color: #707070;
    text-decoration: underline;
    letter-spacing: 0.15em;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-inline: 7px;
    margin-top: 6px;
    transition: all 0.3s;
  }
  @media (max-width: 768px) {
    .dairy__postText {
      line-height: 1.8;
      letter-spacing: 0;
    }
  }
  .dairy__postGo {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 79.4px;
    height: 60.5px;
    background: var(--blue);
    color: var(--yellow);
    font-size: clamp(14px, 2.3148148148vw, 25px);
    font-weight: bold;
    line-height: 1.18;
    letter-spacing: 0;
    display: flex;
    align-items: flex-end;
    justify-content: right;
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 0% 100%); /* 斜めカット */
    padding: 2px 1px;
  }
  @media (max-width: 768px) {
    .dairy__postGo {
      width: 50.5px;
      height: 38.5px;
      line-height: 1.2;
      padding: 4px 3px;
    }
  }
}