@charset "UTF-8";
main {
  margin-bottom: clamp(3.125rem, -2.838740458rem + 25.4452926209vw, 9.375rem);
}

.news_deta {
  /* 日付・カテゴリ・タイトル：中央の器＋中身は左寄せ */
  /* 本文コンテナ：中央寄せ（ヘッダーと同幅上限） */
  /* 画像ブロック：中央寄せ（本文と同幅上限） */
  /* ===== ページャーボタン（この範囲内だけで余白＆間隔を調整） ===== */
}
.news_deta .container-inner {
  width: calc(var(--100vw) - var(--gutter-outer) * 2);
  max-width: 1420px;
  margin: 0 auto;
  align-items: stretch;
}
@media (width > 768px) {
  .news_deta .container-inner {
    padding: 1rem;
  }
}
.news_deta .breadcrumb {
  margin: 8px 0 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: clamp(0.75rem, 0.5114503817rem + 1.0178117048vw, 1rem);
  line-height: 1.9;
  color: #333333;
}
@media (width > 768px) {
  .news_deta .breadcrumb {
    margin: 0;
  }
}
.news_deta .news-head {
  width: min(100%, 1080px);
  margin: clamp(32px, 6vw, 72px) auto 16px;
  /* 上だけ広め＋中央配置 */
  display: flex;
  justify-content: flex-start;
  /* 要素自体は左寄せ */
  align-items: center;
  gap: clamp(16px, 3.5vw, 32px);
  flex-wrap: wrap;
}
.news_deta .news-date {
  display: inline-block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  /* Medium */
  font-size: 20px;
  line-height: 35px;
  letter-spacing: 0;
  color: #999999;
  text-align: left;
}
.news_deta .news-cat {
  display: inline-flex;
  /* ピル内テキストを中央に */
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 40px;
  padding: 0 12px;
  background: #C8EAF2;
  border-radius: 26px;
  box-sizing: border-box;
  white-space: nowrap;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  /* Medium */
  font-size: 20px;
  line-height: 40px;
  /* ピル高さに合わせて中央 */
  letter-spacing: 0;
  color: #4578CB;
  text-align: left;
}
.news_deta .news-detail-title {
  margin: 0;
  display: inline-block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  /* Bold */
  font-size: 40px;
  line-height: 55px;
  letter-spacing: 0;
  color: #333333;
  text-align: left;
}
.news_deta .news-detail-body {
  width: min(100%, 1080px);
  margin: 24px auto 0;
}
.news_deta .news-detail-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  /* Medium */
  font-size: 20px;
  line-height: 35px;
  letter-spacing: 0;
  color: #333333;
  text-align: left;
  margin: 0;
}
.news_deta .news-detail-body .news-detail-text + .news-detail-text {
  margin-top: 1em;
}
.news_deta .news-detail-media {
  width: min(100%, 1080px);
  margin: 24px auto 0;
}
.news_deta .news-detail-media .media-box {
  width: 100%;
  aspect-ratio: 1080/620;
  background: #999999;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.news_deta .news-detail-media img.news-detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news_deta .news-detail-media img.news-detail-image.is-rotated {
  transform: rotate(90deg);
  transform-origin: center;
  width: auto;
  height: 100%;
  object-fit: contain;
}
.news_deta .footer-nav__btn-area.confirm-buttons2 {
  width: min(100%, 1080px);
  /* 本文と同上限幅 */
  margin: clamp(32px, 6vw, 100px) auto clamp(96px, 10vw, 180px);
  /* 下：フッターとの間 */
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* ボタン同士の間隔（横/縦を別々に制御） */
  column-gap: clamp(24px, 5vw, 29px);
  row-gap: clamp(12px, 3vw, 24px);
}
.news_deta .footer-nav__btn-area.confirm-buttons2 > a.btn2 {
  background: #F2F2F2 no-repeat padding-box !important;
  width: 78px !important;
  height: 78px !important;
  flex: 0 0 78px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  opacity: 1;
}
.news_deta .footer-nav__btn-area.confirm-buttons2 > a.btn2.back-btn::before {
  justify-self: start;
  width: 0.75em;
  aspect-ratio: 1;
  background: url("/image/chevron_left.svg") no-repeat center left/contain;
}
.news_deta .footer-nav__btn-area.confirm-buttons2 > a.btn2.back-btn::before {
  content: "";
  width: 15px !important;
  height: 15px !important;
  box-sizing: border-box;
  border-left: 2px solid #333 !important;
  border-bottom: 2px solid #333 !important;
  transform: rotate(45deg);
}
.news_deta .footer-nav__btn-area.confirm-buttons2 > a.btn2.back-btn::after {
  content: none !important;
}
.news_deta .footer-nav__btn-area.confirm-buttons2 > a.btn2.next-btn::after {
  justify-self: end;
  width: 0.75em;
  aspect-ratio: 1;
  background: url("/image/chevron_right.svg") no-repeat center right/contain;
}
.news_deta .footer-nav__btn-area.confirm-buttons2 > a.btn2.next-btn::before {
  content: "";
  width: 15px !important;
  height: 15px !important;
  box-sizing: border-box;
  border-right: 2px solid #333 !important;
  border-top: 2px solid #333 !important;
  transform: rotate(45deg);
}