@charset "UTF-8";
/* ============================================
   お知らせ詳細（news-single_*）
   Figma: 13DINING_企業サイト / お知らせ-詳細（node 3201:362）
   基準幅 1440 / コンテンツ幅 1080
============================================ */

.news-single {
  background: #fff;
}

.news-single .l-inner {
  max-width: 1160px; /* 1080 + 左右40 */
}

/* FV 下の余白（デザイン：FV下端 524 → 図形の上端 579） */
.news-single .common_page-fv {
  margin-bottom: 55px;
}
@media screen and (max-width: 768px) {
  .news-single .common_page-fv {
    margin-bottom: 40px;
  }
}

/* ============================================
   記事本体（黒の斜線シェイプの上に白文字）
   Figma: 図形 1080×460、本文は左上から 60px の内側
============================================ */
.news-single_article__panel {
  min-height: 460px;
  padding: 60px;
  background-color: #000;
  background-image: var(--stripe);
  /* 左上と右下の角を斜めに落とす */
  clip-path: polygon(
    54px 0,
    100% 0,
    100% calc(100% - 54px),
    calc(100% - 54px) 100%,
    0 100%,
    0 54px
  );
}
@media screen and (max-width: 768px) {
  .news-single_article__panel {
    min-height: 0;
    padding: 40px 24px;
    clip-path: polygon(
      28px 0,
      100% 0,
      100% calc(100% - 28px),
      calc(100% - 28px) 100%,
      0 100%,
      0 28px
    );
  }
}

.news-single_article__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  padding-bottom: 20px;
  border-bottom: 1px solid #fff;
}
@media screen and (max-width: 768px) {
  .news-single_article__title {
    font-size: 17px;
  }
}

.news-single_article__body {
  margin-top: 20px;
  padding-bottom: 80px;
  font-size: 14px;
  line-height: 40px;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .news-single_article__body {
    padding-bottom: 20px;
    font-size: 13px;
    line-height: 2;
  }
}

/* 記事内（the_content）はシェイプの上なので白文字に揃える */
.news-single_article__body,
.news-single_article__body *:not(a) {
  color: #fff;
}
.news-single_article__body a {
  color: #fff;
  text-decoration: underline;
}
.news-single_article__body img {
  max-width: 100%;
  height: auto;
}
.news-single_article__body p + p {
  margin-top: 1em;
}

/* ============================================
   前後リンク（デザイン：図形の下 32px、幅400px中央）
============================================ */
.news-single_article__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 400px;
  max-width: 100%;
  margin: 32px auto 0;
  padding: 0 32px;
}
@media screen and (max-width: 768px) {
  .news-single_article__footer {
    width: 100%;
    padding: 0;
  }
}

.news-single_article__nav {
  font-size: 14px;
  line-height: 1;
  color: var(--c-text);
  text-decoration: none;
  transition: opacity 0.3s;
}
@media screen and (max-width: 768px) {
  .news-single_article__nav {
    font-size: 12px;
  }
}

a.news-single_article__nav:hover {
  opacity: 0.6;
}

.news-single_article__nav--disabled {
  opacity: 0.3;
  pointer-events: none;
}
