@charset "UTF-8";
/* お知らせ詳細ページ専用スタイル（本番では assets-lp/css/page/news-detail.css 想定） */

.l-main.news-detail {
  background: #fff;
}

/* お知らせページのフォントを Noto Sans JP に（土台CSSは游ゴシック指定のため明示） */
.news-detail {
  font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}

/* パンくず */
.news-detail .breadcrumb {
  max-width: 900px;
  margin: 0 auto;
  padding: 22px 24px 0;
  font-size: 13px;
  color: #707F89;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.news-detail .breadcrumb a {
  color: #707F89;
  text-decoration: none;
}
.news-detail .breadcrumb a:hover {
  color: #1571DA;
  text-decoration: underline;
}
.news-detail .breadcrumb span.sep {
  color: #CDD6DD;
}
.news-detail .breadcrumb span.current {
  color: #1B224C;
}

/* 記事本体 */
.news-detail .article {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 24px 0;
}
@media screen and (max-width: 640px) {
  .news-detail .article {
    padding-top: 26px;
  }
}

/* 記事ヘッダー */
.news-detail .article-head__meta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.news-detail .article-head__date {
  color: #707F89;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.news-detail .article-head__title {
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.125rem);
  font-weight: 700;
  line-height: 1.45;
  margin-top: 18px;
  padding-bottom: 26px;
  border-bottom: 1px solid #CDD6DD;
}

/* カテゴリタグ（top.css の .news-tag と同じ） */
.news-detail .news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 104px;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.news-detail .news-tag--new { background: #00ACBA; }
.news-detail .news-tag--info { background: #1571DA; }
.news-detail .news-tag--case { background: #1B224C; }
.news-detail .news-tag--maint { background: #707F89; }

/* イメージ画像 */
.news-detail .article-hero {
  margin-top: 34px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #E4E9EE;
  box-shadow: 0 10px 30px rgba(27, 34, 76, 0.12);
}
.news-detail .article-hero img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}
.news-detail .article-hero__cap {
  font-size: 13px;
  color: #707F89;
  text-align: center;
  margin-top: 12px;
}

/* 本文 */
.news-detail .article-body {
  margin-top: 44px;
  font-size: 16px;
  line-height: 2;
}
/* 末尾の回り込み画像（alignright/alignleft）が下にはみ出して切れないように float を解除 */
.news-detail .article-body::after {
  content: "";
  display: block;
  clear: both;
}
.news-detail .article-body img.alignright {
  float: right;
  margin: 0 0 1em 1.5em;
}
.news-detail .article-body img.alignleft {
  float: left;
  margin: 0 1.5em 1em 0;
}
.news-detail .article-body p {
  margin-bottom: 1.9em;
}
.news-detail .article-body h2 {
  font-size: clamp(1.25rem, 1rem + 0.78vw, 1.5rem);
  font-weight: 700;
  line-height: 1.45;
  margin: 2.4em 0 1em;
  padding: 4px 0 4px 18px;
  border-left: 5px solid #1571DA;
}
.news-detail .article-body h2:first-child {
  margin-top: 0;
}
.news-detail .article-body ul {
  list-style: none;
  margin: 0 0 1.9em;
  padding: 0;
}
.news-detail .article-body ul li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 0.7em;
  line-height: 1.8;
}
.news-detail .article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #00ACBA;
}
.news-detail .article-body img {
  max-width: 100%;          /* はみ出さない範囲で、HTMLの幅指定／自然サイズで表示 */
  height: auto;
  margin: 1.4em 0 2.2em;    /* 角丸はかけない（アイコン・バッジ・ロゴが削れて見えるため） */
}
/* 横幅いっぱいで見せたい写真・画面キャプチャには class="is-full" を付ける（角丸あり） */
.news-detail .article-body img.is-full {
  width: 100%;
  border-radius: 10px;
}
.news-detail .article-body .article-note {
  background: #F8F8F8;
  border-radius: 10px;
  padding: 24px 28px;
  margin: 2.4em 0 1.9em;     /* 上の余白を広げて、直前のリスト等と間隔をとる */
  font-size: 15px;
  line-height: 1.9;
}
.news-detail .article-body .article-note strong {
  color: #1B224C;
}
/* ストアバッジ等のボタン画像を横並びにするブロック（class="store-badges" を付ける） */
.news-detail .article-body .store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  margin: 8px 0 24px;        /* 上の余白を詰める */
}
.news-detail .article-body .store-badges img {
  margin: 0;                 /* 画像自体の上下マージンを打ち消す */
}
/* WordPressが自動挿入する <br>（wpautop）を無効化して余計な空きを防ぐ */
.news-detail .article-body .store-badges br {
  display: none;
}
.news-detail .article-body .store-badges a {
  display: inline-block;
}
.news-detail .article-body .store-badges small {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #707F89;
}

/* 記事フッター（戻る / CTA） */
.news-detail .article-foot {
  max-width: 820px;
  margin: 64px auto 0;
  padding: 0 24px;
  text-align: center;
}
.news-detail .article-foot__cta {
  background: #F8F8F8;
  border-radius: 14px;
  padding: 40px 24px;
}
.news-detail .article-foot__cta p {
  font-size: clamp(1.125rem, 0.9rem + 0.6vw, 1.375rem);
  font-weight: 700;
  margin-bottom: 22px;
}
.news-detail .article-foot__btn {
  display: inline-block;
  background: #1B224C;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-radius: 6px;
  padding: 16px 48px;
  transition: opacity 0.25s ease;
}
.news-detail .article-foot__btn:hover {
  opacity: 0.85;
}
.news-detail .article-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  color: #1B224C;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid #1B224C;
  border-radius: 6px;
  padding: 13px 40px;
  transition: 0.25s;
}
.news-detail .article-back:hover {
  background: #1B224C;
  color: #fff;
}

/* 前後記事ナビ */
.news-detail .article-pager {
  max-width: 820px;
  margin: 56px auto 96px;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #CDD6DD;
  padding-top: 26px;
}
@media screen and (max-width: 640px) {
  .news-detail .article-pager {
    margin: 44px auto 64px;
  }
}
.news-detail .article-pager a {
  color: #707F89;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  max-width: 46%;
  transition: color 0.2s;
}
.news-detail .article-pager a:hover {
  color: #1571DA;
}
.news-detail .article-pager a.is-disabled {
  visibility: hidden;
}
