@charset "UTF-8";

/* ============================================
   .news-content 内 WPベーシックテキストスタイル
============================================ */

/* --- 1. 見出し共通デザイン規格 --- */
.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4,
.news-content h5,
.news-content h6 {
  position: relative;
  display: flex;
  align-items: center;
  color: #000000;
  font-weight: bold;
  padding-left: calc(2rem + 0.5em);
}

.news-content h1::before,
.news-content h2::before,
.news-content h3::before,
.news-content h4::before,
.news-content h5::before,
.news-content h6::before {
  content: "";
  position: absolute;
  left: 0;
  width: 2rem;
  height: 1em;
  background-color: #f59a00;
}

/* --- 見出し階層ごとの数値変化 --- */
.news-content h1 {
  font-size: 36px;
  margin: 45px 0 25px 0;
}

.news-content h2 {
  font-size: 32px;
  margin: 40px 0 20px 0;
}

.news-content h3 {
  font-size: 28px;
  margin: 35px 0 18px 0;
}

.news-content h4 {
  font-size: 24px;
  margin: 30px 0 15px 0;
}

.news-content h5 {
  font-size: 20px;
  margin: 25px 0 12px 0;
}

.news-content h6 {
  font-size: 18px;
  margin: 20px 0 10px 0;
}


/* --- 2. リスト（ul / ol）規格 --- */

/* リスト共通 */
.news-content ul,
.news-content ol {
  margin: 25px 0;
}

.news-content ul li,
.news-content ol li {
  font-weight: bold;
  margin-bottom: 10px;
}

/* 箇条書きリスト（ul） */
.news-content ul {
  padding: 0;
  list-style: none;
}

.news-content ul li {
  position: relative;
  padding-left: 20px;
}

.news-content ul li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: #f59a00;
  border-radius: 50%;
}

/* 番号付きリスト（ol） */
.news-content ol {
  list-style: decimal;
  list-style-position: inside;
  padding-left: 20px;
}

.news-content ol li {
  padding-left: 0;
}

.news-content ol li::before {
  content: none;
}

/* img 余白など */
.news-content img {
  display:block;
  max-width: 100%;
  height:auto;
  margin: 24px;

}

/* media クエリ */


/* ============================================
   1. PC（標準）：min-width: 992px 以上
   ・コンテナ：960px（基準サイズ 100%）
============================================ */
@media screen and (min-width: 992px) {

  .single-news-main .container {
    max-width: 960px !important;
    width: 100%;
    margin: 0 auto;
  }

  /* --- 見出し --- */
  .news-content > h1, .news-content > h2, .news-content > h3,
  .news-content > h4, .news-content > h5, .news-content > h6 {
    position: relative;
    display: flex;
    align-items: center;
    color: #000000;
    font-weight: bold;
    padding-left: calc(2rem + 0.5em);
  }

  .news-content > h1::before, .news-content > h2::before, .news-content > h3::before,
  .news-content > h4::before, .news-content > h5::before, .news-content > h6::before {
    content: "";
    position: absolute;
    left: 0;
    width: 2rem;
    height: 1em;
    background-color: #f59a00;
  }

  .news-content > h1 { font-size: 36px; margin: 45px 0 25px 0; }
  .news-content > h2 { font-size: 32px; margin: 40px 0 20px 0; }
  .news-content > h3 { font-size: 28px; margin: 35px 0 18px 0; }
  .news-content > h4 { font-size: 24px; margin: 30px 0 15px 0; }
  .news-content > h5 { font-size: 20px; margin: 25px 0 12px 0; }
  .news-content > h6 { font-size: 18px; margin: 20px 0 10px 0; }

/* --- リスト --- */
  .news-content > ul, .news-content > ol { margin: 25px 0; }
  .news-content > ul > li, .news-content > ol > li { 
    font-size: 15px; 
    font-weight: bold; 
    margin-bottom: 10px; 
  }

  .news-content > ul { padding: 0; list-style: none; }
  .news-content > ul > li { position: relative; padding-left: 20px; }
  .news-content > ul > li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #f59a00; /* オレンジ指定 */
    border-radius: 50%;
  }

  .news-content > ol { list-style: decimal; list-style-position: inside; padding-left: 20px; }
  .news-content > ol > li { padding-left: 0; }
  .news-content > ol > li::before { content: none; }
}


/* ============================================
   2. PC（小）：min-width: 768px 〜 991px
   ・コンテナ：740px（基準比 約77%）
============================================ */
@media screen and (min-width: 768px) and (max-width: 991px) {

  .single-news-main .container {
    max-width: 740px !important;
    width: 100%;
    margin: 0 auto;
  }

  /* --- 見出し --- */
  .news-content > h1, .news-content > h2, .news-content > h3,
  .news-content > h4, .news-content > h5, .news-content > h6 {
    position: relative;
    display: flex;
    align-items: center;
    color: #000000;
    font-weight: bold;
    padding-left: calc(1.55rem + 0.5em);
  }

  .news-content > h1::before, .news-content > h2::before, .news-content > h3::before,
  .news-content > h4::before, .news-content > h5::before, .news-content > h6::before {
    content: "";
    position: absolute;
    left: 0;
    width: 1.55rem;
    height: 1em;
    background-color: #f59a00;
  }

  .news-content > h1 { font-size: 28px; margin: 35px 0 19px 0; }
  .news-content > h2 { font-size: 25px; margin: 31px 0 15px 0; }
  .news-content > h3 { font-size: 22px; margin: 27px 0 14px 0; }
  .news-content > h4 { font-size: 19px; margin: 23px 0 12px 0; }
  .news-content > h5 { font-size: 15px; margin: 19px 0 9px 0; }
  .news-content > h6 { font-size: 14px; margin: 15px 0 8px 0; }

/* --- リスト --- */
  .news-content > ul, .news-content > ol { margin: 19px 0; }
  .news-content > ul > li, .news-content > ol > li { 
    font-size: 12px; 
    font-weight: bold; 
    margin-bottom: 8px; 
  }

  .news-content > ul { padding: 0; list-style: none; }
  .news-content > ul > li { position: relative; padding-left: 15px; }
  .news-content > ul > li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #f59a00;
    border-radius: 50%;
  }

  .news-content > ol { list-style: decimal; list-style-position: inside; padding-left: 15px; }
  .news-content > ol > li { padding-left: 0; }
  .news-content > ol > li::before { content: none; }
}

/* ============================================
   3. タブレット (TB)：min-width: 576px 〜 767px
   ・コンテナ：100%（基準比 約62% 相当にスケーリング）
============================================ */
@media screen and (min-width: 576px) and (max-width: 767px) {

  .single-news-main .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box;
  }

  /* --- 見出し --- */
  .news-content > h1, .news-content > h2, .news-content > h3,
  .news-content > h4, .news-content > h5, .news-content > h6 {
    position: relative;
    display: flex;
    align-items: center;
    color: #000000;
    font-weight: bold;
    padding-left: calc(1.25rem + 0.5em);
  }

  .news-content > h1::before, .news-content > h2::before, .news-content > h3::before,
  .news-content > h4::before, .news-content > h5::before, .news-content > h6::before {
    content: "";
    position: absolute;
    left: 0;
    width: 1.25rem;
    height: 1em;
    background-color: #f59a00;
  }

  .news-content > h1 { font-size: 23px; margin: 28px 0 16px 0; }
  .news-content > h2 { font-size: 20px; margin: 25px 0 12px 0; }
  .news-content > h3 { font-size: 18px; margin: 22px 0 11px 0; }
  .news-content > h4 { font-size: 15px; margin: 19px 0 9px 0; }
  .news-content > h5 { font-size: 13px; margin: 16px 0 8px 0; }
  .news-content > h6 { font-size: 12px; margin: 12px 0 6px 0; }

/* --- リスト --- */
  .news-content > ul, .news-content > ol { margin: 16px 0; }
  .news-content > ul > li, .news-content > ol > li { 
    font-size: 10px; 
    font-weight: bold; 
    margin-bottom: 6px; 
  }

  .news-content > ul { padding: 0; list-style: none; }
  .news-content > ul > li { position: relative; padding-left: 12px; }
  .news-content > ul > li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: #f59a00;
    border-radius: 50%;
  }

  .news-content > ol { list-style: decimal; list-style-position: inside; padding-left: 12px; }
  .news-content > ol > li { padding-left: 0; }
  .news-content > ol > li::before { content: none; }
}


/* ============================================
   4. スマホ (SP)：max-width: 575px
   ・コンテナ：100%（左右余白 20px / 基準比 約40% 相当にスケーリング）
============================================ */
@media screen and (max-width: 575px) {

  .single-news-main .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
  }

  /* --- 見出し --- */
  .news-content > h1, .news-content > h2, .news-content > h3,
  .news-content > h4, .news-content > h5, .news-content > h6 {
    position: relative;
    display: flex;
    align-items: center;
    color: #000000;
    font-weight: bold;
    padding-left: calc(0.8rem + 0.4em);
  }

  .news-content > h1::before, .news-content > h2::before, .news-content > h3::before,
  .news-content > h4::before, .news-content > h5::before, .news-content > h6::before {
    content: "";
    position: absolute;
    left: 0;
    width: 0.8rem;
    height: 1em;
    background-color: #f59a00;
  }

/* ============================================
   4. スマホ (SP)：max-width: 575px
============================================ */
@media screen and (max-width: 575px) {

  .single-news-main .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
  }

  /* --- 見出し共通 --- */
  .news-content > h1,
  .news-content > h2,
  .news-content > h3,
  .news-content > h4,
  .news-content > h5,
  .news-content > h6 {
    position: relative;
    display: flex;
    align-items: center;
    color: #000;
    font-weight: bold;
    padding-left: calc(0.8rem + 0.4em);
  }

  .news-content > h1::before,
  .news-content > h2::before,
  .news-content > h3::before,
  .news-content > h4::before,
  .news-content > h5::before,
  .news-content > h6::before {
    content: "";
    position: absolute;
    left: 0;
    width: 0.8rem;
    height: 1em;
    background-color: #f59a00;
  }

  /* --- 見出しサイズ --- */
  .news-content > h1 {
    font-size: 18px;
    margin: 22px 0 12px;
  }

  .news-content > h2 {
    font-size: 16px;
    margin: 20px 0 10px;
  }

  .news-content > h3 {
    font-size: 14px;
    margin: 18px 0 9px;
  }

  .news-content > h4 {
    font-size: 16px;
    margin: 18px 0 10px;
  }

  .news-content > h5 {
    font-size: 15px;
    margin: 15px 0 8px;
  }

  .news-content > h6 {
    font-size: 14px;
    margin: 12px 0 6px;
  }

  /* --- 本文 --- */
  .news-content > p {
    font-size: 15px;
    line-height: 1.8;
  }

  /* --- リスト共通 --- */
  .news-content > ul,
  .news-content > ol {
    margin: 12px 0;
    font-size: 15px;
  }

  .news-content > ul > li,
  .news-content > ol > li {
    font-size: 15px;
    line-height: 1.8;
    font-weight: normal;
    margin-bottom: 8px;
  }

  /* --- 箇条書きリスト --- */
  .news-content > ul {
    padding: 0;
    list-style: none;
  }

  .news-content > ul > li {
    position: relative;
    padding-left: 16px;
  }

  .news-content > ul > li::before {
    content: "";
    position: absolute;
    top: 0.9em;
    left: 0;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: #f59a00;
    border-radius: 50%;
  }

  /* --- 番号付きリスト --- */
  .news-content > ol {
    list-style: decimal;
    list-style-position: outside;
    padding-left: 1.5em;
  }

  .news-content > ol > li {
    padding-left: 0;
  }

  .news-content > ol > li::before {
    content: none;
  }

}