@charset "utf-8";

/* ============
News -Archive- Page
============ */
.news-archive .l-container {
  width: auto;
  height: auto;
  padding-inline: 0;
}

.news-archive__heading {
  margin-top: 48px;
  color: var(--electron-blue);
  font-family: "Roboto", sans-serif;
  text-align: center;
  font-size: 2rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 1px;
}

.news__container {
  background: rgba(256, 256, 256, 0.7);
  margin: 0;
  margin-top: 24px;
  padding: 0 var(--contentPadding) 1px;
}

.news__list {
  margin: 40px var(--contentPadding);
  padding-top: 24px;
}

.news__item {
  position: relative;
  padding: 24px 0;
}

.news__item::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--spectral-white);
}

.news__item:last-of-type:before {
  display: none;
}

.news__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 16px;
  text-decoration: none;
  color: var(--ink-black);
  transition: color .2s ease;
}

.news__link:hover,
.news__link:active {
  color: #c6742d;
}

.news__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news__icon {
  width: 24px;
  height: 8px;
  flex-shrink: 0;
}

.news__icon path {
  transform-origin: 50% 50%;
  transform: scaleY(3);
}

.news__link:hover,
.news__link:active {
  color: #c6742d;
}

.news__date,
.news-article__date {
  width: fit-content;
  color: #7F96CF;
  font-family: "Roboto", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
}

.news__title {
  width: 100%;
  font-size: 1rem;
  line-height: 1.4;
}
.news__more {
    display: block;
    border: none;
    background: none;
    padding: 0;
    color: var(--electron-blue);
    font-size: 0.98rem;
    cursor: pointer;
    text-align: end;
    margin-right: var(--contentPadding);
}

.news__more span {
    display: block;
    font-size: 0.78rem;
    color: var(--photon-blue);
}

.news__more:hover,
.news__more span:hover,
.news__more:active,
.news__more span:active {
  color: #c6742d;
  transition: color .4s ease;
}

@media (min-width: 1024px) {
  .news-archive .l-container {
    max-width: none;
    margin-top: 0;
    padding-bottom: 0;
  }

  .news__container {
    padding-bottom: 48px;
    margin: 48px auto 0;
  }

  .news-archive__heading {
    margin-top: 126px;
    font-size: 3rem;
  }

  .news__list {
    margin: 0;
  }

  .news__item {
    padding: 32px 0;
    width: 80%;
    margin: 0 auto;
  }

  .news__date,
  .news-article__date {
    font-size: 1.4rem;
  }

  .news__title {
    font-size: 1.18rem;
  }
}

/* ============
News -single- Page
============ */
.breadcrumb ol {
  display: flex;
  justify-content: center;
  font-size: 0.86rem;
  margin-top: 32px;
  color: var(--electron-blue);
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li+li::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 10px;
  background-image: url("../images/right.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.news-article {
  max-width: 720px;
  margin: 48px auto 80px;
  padding-top: 32px;
}

.news-article__title {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-top: 24px;
  margin-bottom: 24px;
}

/* 画像はあれば全幅・なければスペース空かないように */
.news-article__figure {
  margin: 0 0 32px;
}

.news-article__figure img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.news-article__figure figcaption {
  text-align: right;
  font-size: 0.86rem;
  margin-top: 8px;
}

.news-article__body p {
  margin-top: var(--contentPadding);
  font-size: 1rem;
  line-height: 2;
}

.news-article__back {
  display: block;
  border: none;
  background: none;
  padding: 0;
  color: var(--electron-blue);
  font-size: 0.98rem;
  cursor: pointer;
  text-align: end;
  margin-right: 8px;
  margin-top: 32px;
}

.news-article__back span {
  display: block;
  font-size: 0.78rem;
  color: var(--photon-blue);
}

.news-article__back:hover,
.news-article__back span:hover,
.news-article__back:active,
.news-article__back span:active {
  color: #c6742d;
  transition: color .4s ease;
}

@media (min-width: 1024px) {
  .news-article {
    padding-top: 54px;
  }

  .breadcrumb ol {
    font-size: 0.98rem;
    margin-top: 48px;
  }

  .news-article__title {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .news-article__figure figcaption {
    font-size: 0.98rem;
    margin-top: 12px;
  }

  .news-article__body p {
    margin-top: 48px;
    font-size: 1.1rem;
  }

  .news-article__back {
    margin-top: 54px;
  }
}