@charset "UTF-8";
/* ======================================
  関連記事
====================================== */

.p-related__thumbnail {
  width: 100%;
  aspect-ratio: 250 / 160;
  margin: 0;
  overflow: hidden;
  background: #f5f5f5;
}

.p-related__thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.p-related__body {
  padding-top:.5em;
}

.p-related__cate {
  display: inline-block;
  margin: 0 0 6px;
  padding: 3px 10px;
      background: #fff;
    color: var(--l-main-color);
    border: 1px solid var(--l-main-color);
  font-size: 12px;
  line-height: 1.5;
  border-radius: 4px;

}

.p-related__date {

  line-height: 1.6;
}

.p-related__date time {
  font-size: 14px;
  line-height: 1.5;
  color: #777;
}

.p-related__item-title {
  margin: 0;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 500;
  line-height: 1.7;
}

/* ======================================
  お知らせ
====================================== */

.p-hero__news {
  position: absolute;
  left: clamp(1.25rem, 4vw, 4rem);
  bottom: clamp(1.25rem, 4vw, 3.5rem);
  z-index: 15;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  width: min(34.5rem, calc(100% - 2.5rem));
  min-height: 4rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(172, 77, 154, 0.45);
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1rem 2rem rgba(36, 29, 39, 0.08);
  color: #333333;
  text-decoration: none;
}

.p-hero__news-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.25rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--l-main-color);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.p-hero__news-title {
  overflow: hidden;
  font-weight: 500;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-hero__news-date {
  color: #555555;
  font-family: "Barlow", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.p-hero__news-arrow {
  width: 0.65rem;
  height: 0.65rem;
  border-top: 2px solid var(--l-main-color);
  border-right: 2px solid var(--l-main-color);
  transform: rotate(45deg);
}

.p-hero__news:hover {
  color: var(--l-main-color);
}

.p-news-list {
  display: grid;
  gap: 1rem;
}

.p-news-list__item {
  border-bottom: 1px solid #e8e1e8;
}

.p-news-list__link {
  position: relative;
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 3rem 1.5rem 0;
  color: #333333;
  text-decoration: none;
}

.p-news-list__date {
  color: var(--l-main-color);
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.p-news-list__title {
  margin: 0;
  font-size: clamp(1rem, 0.946rem + 0.23vw, 1.125rem);
  font-weight: 700;
  line-height: 1.6;
}

.p-news-list__excerpt {
  grid-column: 2 / 3;
  margin: 0;
  color: #666666;
  line-height: 1.8;
}

.p-news-list__more {
  grid-row: 1 / span 2;
  grid-column: 3 / 4;
  width: 0.75rem;
  height: 0.75rem;
  border-top: 2px solid var(--l-main-color);
  border-right: 2px solid var(--l-main-color);
  transform: rotate(45deg);
}

.p-news-list__link:hover .p-news-list__title {
  color: var(--l-main-color);
}

.p-news-list__empty {
  text-align: center;
}

.p-news-single__article {
  padding-bottom: clamp(2rem, 5vw, 4rem);
  border-bottom: 1px solid #e8e1e8;
}

.p-news-single__head {
  display: grid;
  gap: 1rem;
}

.p-news-single__date {
  color: var(--l-main-color);
  font-family: "Barlow", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.p-news-single__title {
  margin: 0;
  font-size: clamp(1.5rem, 1.176rem + 1.38vw, 2.25rem);
  font-weight: 700;
  line-height: 1.5;
}

.p-news-single__thumbnail {
  margin: clamp(1.5rem, 4vw, 3rem) 0 0;
  overflow: hidden;
  border-radius: 0.75rem;
}

.p-news-single__thumbnail img {
  display: block;
  width: 100%;
  height: auto;
}

.p-news-single__nav {
  margin-top: clamp(2rem, 5vw, 4rem);
}

@media screen and (max-width: 767px) {
  .p-hero__news {
    grid-template-columns: auto 1fr auto;
    gap: 0.625rem 0.75rem;
    bottom: 1rem;
    padding: 0.75rem 0.875rem;
  }

  .p-hero__news-label {
    min-width: 4.75rem;
    min-height: 2rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.875rem;
  }

  .p-hero__news-title {
    grid-column: 2 / 4;
    grid-row: 1 / 2;
    font-size: 0.9rem;
  }

  .p-hero__news-date {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    font-size: 0.875rem;
  }

  .p-hero__news-arrow {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
  }

  .p-news-list__link {
    grid-template-columns: 1fr auto;
    gap: 0.5rem 1rem;
    padding: 1.25rem 0.5rem 1.25rem 0;
  }

  .p-news-list__date,
  .p-news-list__title,
  .p-news-list__excerpt {
    grid-column: 1 / 2;
  }

  .p-news-list__more {
    grid-row: 1 / span 3;
    grid-column: 2 / 3;
  }
}

