/* News single page */

/* ========================================
   お知らせページ上部MV
   元の3列レイアウトは維持してコンパクト化
======================================== */

.sec_news_mv {
  padding-top: 28px;
  padding-bottom: 28px;
}

.sec_news_mv .news_page_tit {
  text-align: center;
}

.news_kicker {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
}

.news_kicker_sub {
  display: block;
  margin-top: 10px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

.news_page_tit img {
  width: 150px;
  max-width: 150px;
  height: auto;
  margin-top: 10px;
}


/* パンくず */
.news_breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  color: #666;
  font-size: 13px;
  line-height: 1.6;
}

.news_breadcrumb a {
  color: #666;
  text-decoration: underline;
}


/* お知らせ記事全体 */
.news_article {
  max-width: 980px;
  margin: 0 auto;
}


/* お知らせヘッダー */
.news_header {
  margin-bottom: 32px;
}


/* お知らせタイトル */
.news_header h1 {
  margin: 0;
  color: #111;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.45;
}


/* 公開日・更新日 */
.news_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 14px;
}

.news_date,
.news_modified {
  display: inline-block;
  color: #777;
  font-size: 13px;
  line-height: 1.5;
}


/* アイキャッチ */
.news_hero {
  margin: 0 0 36px;
}

.news_hero img {
  display: block;
  width: 100%;
  height: auto;
}


/* 本文 */
.news_single_cont {
  color: #222;
  font-size: 16px;
  line-height: 1.95;
}

.news_single_cont h2 {
  margin: 56px 0 20px;
  padding-left: 16px;
  border-left: 5px solid #EF7F42;
  color: #111;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.5;
}

.news_single_cont h3 {
  margin: 38px 0 16px;
  color: #111;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.5;
}

.news_single_cont h4 {
  margin: 34px 0 14px;
  color: #111;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
}

.news_single_cont p {
  margin: 0 0 20px;
}

.news_single_cont ul,
.news_single_cont ol {
  margin: 18px 0 26px 1.4em;
}

.news_single_cont li {
  margin-bottom: 8px;
  line-height: 1.85;
}

.news_single_cont img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 26px auto;
}

.news_single_cont a {
  color: #EF7F42;
  text-decoration: underline;
}

.news_single_cont hr {
  margin: 48px 0;
  border: 0;
  border-top: 1px solid #ddd;
}


/* 関連サービス */
.news_related_links {
  margin-top: 64px;
  padding-top: 34px;
  border-top: 1px solid #ddd;
}

.news_related_links h2 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 800;
}

.news_related_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.news_related_buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid #EF7F42;
  color: #EF7F42;
  font-weight: 700;
  text-align: center;
  transition: .2s ease;
}

.news_related_buttons a:hover {
  background: #EF7F42;
  color: #fff;
}

.news_related_buttons a.is-primary {
  background: #EF7F42;
  color: #fff;
}


/* CTA */
.news_cta {
  margin-top: 50px;
  padding: 34px 28px;
  border-top: 4px solid #EF7F42;
  background: #f7f7f7;
  text-align: center;
  box-sizing: border-box;
}

.news_cta h2 {
  margin: 0 0 12px;
  color: #EF7F42;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.5;
}

.news_cta p {
  max-width: 760px;
  margin: 0 auto 22px;
  line-height: 1.8;
}

.news_cta_buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.news_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 52px;
  padding: 12px 20px;
  border: 2px solid #EF7F42;
  background: #fff;
  color: #EF7F42;
  font-weight: 800;
  box-sizing: border-box;
  transition: .2s ease;
}

.news_btn_primary,
.news_btn:hover {
  background: #EF7F42;
  color: #fff;
}


/* ========================================
   タブレット・スマートフォン
======================================== */

@media screen and (max-width: 800px) {

  .sec_news_mv {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .news_kicker {
    font-size: 25px;
  }

  .news_kicker_sub {
    font-size: 18px;
  }

  .news_page_tit img {
    width: 110px;
    max-width: 110px;
    height: auto;
    margin-top: 8px;
  }

  .news_article {
    width: 100%;
  }


  /* お知らせヘッダーを縦並びに */
  .news_header {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 24px;
    text-align: left;
  }


  /* 日付をタイトルの上に */
  .news_meta {
    order: 1;
    width: 100%;
    justify-content: flex-start;
    gap: 6px 12px;
    margin-bottom: 12px;
  }

  .news_date,
  .news_modified {
    font-size: 12px;
    line-height: 1.5;
  }


  /* お知らせタイトル */
  .news_header h1 {
    order: 2;
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-size: 22px;
    line-height: 1.45;
    text-align: left;
    word-break: normal;
    overflow-wrap: anywhere;
  }


  /* 本文 */
  .news_single_cont {
    font-size: 15px;
    line-height: 1.9;
  }

  .news_single_cont h2 {
    margin-top: 42px;
    font-size: 22px;
    text-align: left;
  }

  .news_single_cont h3 {
    font-size: 19px;
  }

  .news_single_cont h4 {
    font-size: 18px;
  }


  /* 関連サービス */
  .news_related_links h2 {
    text-align: center;
  }

  .news_related_buttons {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-direction: column;
  }

  .news_related_buttons a {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }


  /* CTA */
  .news_cta {
    width: 100%;
    max-width: 100%;
    padding: 28px 18px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .news_cta h2 {
    font-size: 22px;
    line-height: 1.45;
    text-align: center;
    letter-spacing: 0;
    overflow-wrap: break-word;
  }

  .news_cta p {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 4px;
    padding-right: 4px;
    overflow-wrap: anywhere;
  }

  .news_cta_buttons {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-direction: column;
  }

  .news_btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}


/* ========================================
   小さいスマートフォン
======================================== */

@media screen and (max-width: 390px) {

  .news_header h1 {
    font-size: 20px;
    line-height: 1.45;
  }

  .news_kicker_sub {
    font-size: 18px;
  }

  .news_cta h2 {
    font-size: 20px;
  }
}

/* ========================================
   NEWS独自要素
======================================== */

/* INFORMATION / EVENT ラベル */
.news_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid #EF7F42;
  color: #EF7F42;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .04em;
  box-sizing: border-box;
}

/* 会社紹介 */
.news_company_box {
  margin-top: 64px;
  padding: 34px 28px;
  border-top: 1px solid #ddd;
  background: #f7f7f7;
  box-sizing: border-box;
}

.news_company_box h2 {
  margin: 0 0 14px;
  color: #111;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.5;
}

.news_company_box p {
  margin: 0;
  color: #222;
  font-size: 16px;
  line-height: 1.8;
}

/* 旧テーマ由来の装飾を打ち消して実績ページと統一 */
.news_header {
  border-bottom: 0;
}

.news_header h1 {
  color: #111 !important;
}

.sec_news_single .wrapp,
.sec_news_single .news_article {
  box-sizing: border-box;
}

/* 本文中の強調 */
.news_single_cont strong {
  font-weight: 800;
}

/* 引用 */
.news_single_cont blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 4px solid #EF7F42;
  background: #f7f7f7;
  color: #333;
}

/* 表 */
.news_single_cont table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
}

.news_single_cont th,
.news_single_cont td {
  padding: 12px 14px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

.news_single_cont th {
  background: #f7f7f7;
  font-weight: 800;
}

@media screen and (max-width: 800px) {
  .news_company_box {
    width: 100%;
    max-width: 100%;
    padding: 28px 18px;
    box-sizing: border-box;
  }

  .news_company_box h2 {
    font-size: 22px;
  }

  .news_company_box p {
    font-size: 15px;
  }

  .news_single_cont table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media screen and (max-width: 390px) {
  .news_company_box h2 {
    font-size: 20px;
  }
}

/* ========================================
   NEWS スマホ微調整
======================================== */
@media screen and (max-width: 800px) {
  /* パンくずの記事タイトル部分は省略 */
  .news_breadcrumb span:nth-last-child(-n+2) {
    display: none;
  }

  /* 日付まわりを縦並びで整理 */
  .news_meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 14px;
  }

  .news_header {
    margin-bottom: 24px;
  }

  .news_header h1 {
    margin-top: 0;
  }

  .news_breadcrumb {
    margin-bottom: 22px;
  }
}

/* ========================================
   PC：記事ヘッダーを実績詳細ページと同じ構成に統一
   ※スマホ側の既存レイアウトは変更しない
======================================== */
@media screen and (min-width: 801px) {
  .news_header {
    display: block !important;
    width: 100%;
    margin-bottom: 32px;
    text-align: left;
  }

  .news_meta {
    display: flex !important;
    flex-direction: row !important;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin: 0 0 14px;
  }

  .news_header h1 {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    color: #111 !important;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.45;
    text-align: left;
  }
}

/* ========================================
   スマホ：公開日・更新日を横並び
======================================== */
@media screen and (max-width: 800px) {
  .news_meta {
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px 12px !important;
  }

  .news_badge {
    flex-basis: 100%;
  }

  .news_date,
  .news_modified {
    display: inline-block;
    width: auto;
  }
}

/* ========================================
   PC：CTA本文を1行表示
======================================== */
@media screen and (min-width: 801px) {
  .news_cta p {
    max-width: none;
    white-space: nowrap;
  }
}
