@charset "utf-8";

/* ==========================================================================
   News（ニュース／お知らせ）
   トップの欄・一覧ページ・詳細ページ共通。コラム（column.css）と同じ調子で作る
========================================================================== */

/* ---- 一覧（共通） ---- */
.news-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(1, 28, 130, 0.12);
}

.news-item {
  border-bottom: 1px solid rgba(1, 28, 130, 0.12);
}

.news-item__link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 0.25rem;
  color: var(--color-text-dark);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.news-item__link:hover,
.news-item__link:focus-visible {
  background: rgba(1, 28, 130, 0.04);
  color: var(--color-main);
}

.news-item__link:focus-visible {
  outline: 3px solid rgba(1, 28, 130, 0.35);
  outline-offset: -3px;
}

.news-item__date {
  flex-shrink: 0;
  color: var(--color-main);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.news-item__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
}

.news-item__link--external .news-item__title::after {
  content: "";
  display: inline-block;
  width: 0.75em;
  height: 0.75em;
  margin-left: 0.4em;
  vertical-align: -0.05em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.news-empty {
  margin: 4rem 0;
  text-align: center;
  font-size: 0.95rem;
}

@media screen and (min-width: 768px) {
  .news-item__link {
    flex-direction: row;
    align-items: baseline;
    gap: 2rem;
    padding: 1.35rem 0.75rem;
  }

  .news-item__date {
    width: 6.5rem;
    font-size: 0.9rem;
  }

  .news-item__title {
    font-size: 1.05rem;
  }
}

/* ---- トップページの欄（MV直下・bg01の上に白カード。#home-carego の白カードと同じ幅・角丸） ---- */
.home-news {
  margin-bottom: 1.25rem;
}

.home-news__inner {
  padding: 2.75rem 1.5rem 2.5rem;
  border-radius: 2.5rem;
  background: #fff;
}

.home-news__heading {
  margin-bottom: 1.5rem;
}

.home-news__more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.home-news__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14rem;
  min-height: 3.1rem;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  background: var(--color-main-dark);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.home-news__button:hover {
  background: var(--color-main);
}

.home-news__button:focus-visible {
  outline: 3px solid rgba(1, 28, 130, 0.35);
  outline-offset: 4px;
}

@media screen and (min-width: 768px) {
  .home-news {
    margin-bottom: 2rem;
  }

  .home-news__inner {
    padding: 3.5rem 3rem 3rem;
  }

  .home-news__heading {
    margin-bottom: 2rem;
  }
}

@media screen and (min-width: 1024px) {
  .home-news__inner {
    max-width: 1560px;
    margin: 0 auto;
  }
}

/* ---- 詳細ページ（コラムのシェルに合わせる） ---- */
.news-page {
  padding: 0 0 4rem;
}

body:not(#frontpage) {
  padding-top: 7rem;
}

.news-shell.post-block {
  width: 100%;
  max-width: 97.5rem;
  margin: 0 auto;
  padding: 3.5rem 0 6.5rem;
  overflow: hidden;
  border-radius: 1.5rem;
}

.news-shell__inner,
.news-single__inner {
  max-width: none;
  padding-right: 1.25rem;
  padding-left: 1.25rem;
}

.news-heading {
  margin-bottom: 2.75rem;
}

/* 詳細 */
.news-single__inner {
  max-width: 52rem;
  margin: 0 auto;
}

.news-single__header {
  margin-bottom: 2.5rem;
}

.news-single__en {
  margin-bottom: 0.75rem;
}

.news-single__date {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-main);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.news-single__title {
  margin: 0;
  color: var(--color-text-dark);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.news-single__eyecatch {
  margin-top: 1.75rem;
  border-radius: 1rem;
  overflow: hidden;
}

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

.news-entry__content {
  font-size: 1rem;
  line-height: 1.9;
}

.news-entry__content > * + * {
  margin-top: 1.25em;
}

.news-entry__content h2 {
  margin-top: 2.5em;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
}

.news-entry__content h3 {
  margin-top: 2em;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
}

.news-entry__content ul,
.news-entry__content ol {
  padding-left: 1.5em;
}

.news-entry__content ul {
  list-style: disc;
}

.news-entry__content ol {
  list-style: decimal;
}

.news-entry__content a {
  color: var(--color-main);
  text-decoration: underline;
}

.news-entry__content img {
  max-width: 100%;
  height: auto;
}

.news-single__footer {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}

.news-single__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12.5rem;
  min-height: 3.1rem;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  background: #555;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.news-single__back:hover {
  background: var(--color-main);
}

.news-single__back:focus-visible {
  outline: 3px solid rgba(1, 28, 130, 0.35);
  outline-offset: 4px;
}

@media screen and (max-width: 767px) {
  .news-page {
    padding-bottom: 0;
  }

  .news-page + .footer::after {
    max-height: 100%;
  }

  .news-shell.post-block {
    padding-top: 3.75rem;
    padding-bottom: 8.8125rem;
    border-radius: 2.5rem;
    background: #fbfbfb;
  }
}

@media screen and (min-width: 768px) {
  .news-page {
    padding-bottom: 5.5rem;
  }

  .news-shell.post-block {
    width: 88%;
    padding-top: 5rem;
    padding-bottom: 8rem;
    border-radius: 2.5rem;
  }

  .news-shell__inner,
  .news-single__inner {
    padding-right: 3rem;
    padding-left: 3rem;
  }

  .news-heading {
    margin-bottom: 4.5rem;
  }

  .news-single__title {
    font-size: 1.9rem;
  }
}
