/*  =====ベースフォントサイズの設定===== */
html {
  font-size: 14px;
  font-family: "Noto Sans JP", Helvetica;
}

p {
  font-size: 1.2em;
  font-weight: 400;
  line-height: 1.6;
}

/* Righteous フォントのインポート */
@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');

/* フォントクラスの定義 */
.righteous_regular {
  font-family: 'Righteous', cursive;
  font-weight: 400;
}

/* FOSページの独自見出しスタイル */
.section_subRev {
  font-size: 18px;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section_subheadingRev {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.concept_heading {
  font-size: 24px;
  line-height: 1.5;
  color: #ffffff;
  margin-bottom: 20px;
}


/* =====共通スタイル===== */
/* 見出し(h2)の共通スタイル */
.section_heading {
  font-size: 4.8vw;
  font-weight: 700;
  padding-top: 0.2rem;
}

.section_heading02 {
  font-size: 2.6vw;
  font-weight: 700;
  padding-top: 1rem;
  color: #004EA2;
}

/* サブ見出し(h3)の共通スタイル */
.section_subheading {
  font-size: 2.4vw;
  font-weight: 500;
  line-height: 1.4;
  padding-top: 1rem;
}

/* サブテキストの共通スタイル */
.section_sub {
  font-size: 1.4em;
  font-weight: 500;
  padding-top: 0.4rem;
}

.section_sub02 {
  font-size: 1.4vw;
  font-weight: 500;
  padding-top: 0.4rem;
  color: #004EA2;
}

/* 説明文の共通スタイル */
.section_description {
  font-weight: 500;
  line-height: 1.8;
}


/* ページリンク用フォントスタイル */
.page_link_title {
  font-family: 'Righteous', cursive;
  font-weight: 400;
  letter-spacing: 1px;
}

.page_link_subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
}

.page_link_button {
  letter-spacing: 0.5px;
  font-size: 1.2em;
  margin-top: 2rem;
  color: #004EA2;
}



/* =====セクション固有のカラー設定===== */
/* 白背景セクションの見出し */
.about h2, .fs_rd h2, .case h2 {
  color: var(--deep-blue);
}

/* 白背景セクションのサブテキスト */
.about .sub, .fs_rd .sub, .case .sub {
  color: #000000;
  font-weight: 700;
}

/* 青背景セクションの見出し */
.vision h2, .vision h3, .feature h2, .feature h3, .support h2, .service h2 {
  color: #ffffff;
}

/* 青背景セクションのサブテキスト */
.vision .sub, .feature .sub, .support .sub, .service .sub {
  color: #ffffff;
}

/* 青背景セクションの説明文 */
.vision .description, .feature .description, .support .description {
  color: #ffffff;
}

/* 白背景セクションの説明文 */
.about .description, .service .text .description {
  color: #000000;
}

/* =====下層特有のスタイル===== */
/* 見出しスタイル */
.section_heading02 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--deep-blue);
}

.section_sub02 {
  font-size: 18px;
  color: var(--light-blue);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ==============fos フォントスタイル============== */
.concept_heading {
  color: #ffffff;
  font-size: 2.2vw;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

/* ==============お知らせセクション フォントスタイル============== */
.news .news-heading {
  color: var(--deep-blue);
  font-family: Righteous, var(--default-font-family);
  font-size: 80px;
  font-weight: 400;
  line-height: 99px;
  text-align: left;
  white-space: nowrap;
}

.news .news-subtitle {
  color: var(--deep-blue);
  font-family: Noto Sans JP, var(--default-font-family);
  font-size: 20px;
  font-weight: 700;
  line-height: 40px;
  text-align: left;
}

/* 下層ページ共通フォントスタイル */
.subpage_title {
  font-size: 4rem;
  letter-spacing: 0.2em;
  color: var(--deep-blue);
  font-weight: 600;
  white-space: nowrap;
}

.side_heading .righteous_regular {
  font-size: 5rem;
  letter-spacing: 0.3rem;
  color: #186edd;
  font-weight: 600;
  text-align: center;
}

.subpage_subtitle {
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.subpage_heading {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
}

.subpage_concept {
  color: #ffffff;
  font-size: 2.4vw;
  font-weight: 700;
  line-height: 1.6;
}

.subpage_text {
  color: #ffffff;
  font-size: 1.2em;
  line-height: 1.8;
  font-weight: 500;
}

.subpage_contentHeading {
  color: #004EA2;
  font-size: 2vw;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.subpage_contentHeadingRev {
  color: #ffffff;
  font-size: 2vw;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.subpage_contentHeading02 {
  color: #004EA2;
  font-size: 1.8vw;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.subpage_contentSubHeading {
  color: #004EA2;
  font-size: 1.4vw;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.subpage_contentSubHeadingRev {
  color: #ffffff;
  font-size: 1.4vw;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.subpage_description {
  font-size: 1.4em;
  line-height: 1.8;
  font-weight: 500;
  text-align: center;
}

.subpage_descriptionRev {
  font-size: 1.4em;
  line-height: 1.8;
  font-weight: 500;
  text-align: center;
  color: #ffffff;
}

.subpage_flexHeading {
  font-size: 4.8vw;
  font-weight: 700;
  color: #ffffff;
  padding-bottom: 1rem;
}

.subpage_flexSubHeading {
  font-size: 1.8vw;
  font-weight: 700;
  line-height: 1.6;
  color: #ffffff;
  padding-bottom: 4rem;
}

.subpage_flexSubHeadingRev {
  font-size: 1.8vw;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  color: #004EA2;
}

.subpage_flexDescription {
  font-size: 1.6em;
  line-height: 1.8;
  font-weight: 500;
  color: #ffffff;
}

.subpage_flexDescriptionBK {
  font-size: 1.4em;
  line-height: 1.8;
  font-weight: 400;
}

.subpage_meritBgText {
  font-size: 4em;
  line-height: 1.8;
  font-weight: 500;
  color: #196edd3d;
}

.subpage_meritHeading {
  font-size: 3em;
  font-weight: 500;
  color: #004EA2;
}

.subpage_meritSubHeading {
  font-size: 1.4em;
  font-weight: 500;
  color: #004EA2;
}

.subpage_meritDescription {
  font-size: 1.4em;
  line-height: 1.8;
  font-weight: 400;
}


.fv_description_text {
  font-size: 1.4em;
  line-height: 1.8;
  font-weight: 400;
}




/* レスポンシブ対応 - フォントサイズ調整 */
@media screen and (max-width: 1280px) {
  .subpage_concept {
    font-size: 2.5vw;
  }

  .side_heading .righteous_regular {
    font-size: 4rem;
  }

  .subpage_subtitle {
  margin-top: 2rem;
  line-height: 1.2;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  }

 .subpage_heading {
  font-size: 1.4rem;
  }

 .subpage_concept {
  font-size: 2.6rem;
  }

  .content_header {
    padding-bottom: 1rem;
  }

  .subpage_text {
    font-size: 1.2em;
    line-height: 1.6;
    font-weight: 500;
  }

  .subpage_contentSubHeading {
    font-size: 2.4vw;
  }

  .subpage_contentHeading {
    font-size: 3vw;
  }

  .subpage_contentSubHeadingRev {
    font-size: 2.6vw;
  }

  .subpage_contentHeadingRev {
    font-size: 3vw;
  }
}
@media screen and (max-width: 992px) {
  .subpage_title {
    font-size: 2.5rem;
  }
  
  .side_heading .righteous_regular {
    font-size: 2.5em;
  }
  
  .subpage_concept {
    font-size: 4vw;
  }
  
  .subpage_heading {
    font-size: 3vw;
  }

  .subpage_contentSubHeadingRev {
    font-size: 2.6vw;
  }

  .subpage_contentSubHeadingRev {
    font-size: 2.2em;
  }

  .subpage_contentHeadingRev {
    font-size: 2.8em;
  }
}

@media screen and (max-width: 768px) {
  .subpage_subtitle {
    font-size: 1em;
  }
  
  .subpage_concept {
    font-size: 4.6vw;
}

  .subpage_heading {
    font-size: 22px;
  }
  
  .subpage_text {
    font-size: 16px;
  }

  .services_list_item .button-container .btnText .righteous_regular {
    font-size: 1em;
  }

  .subpage_contentSubHeading {
    font-size: 4vw;
  }
  .subpage_contentHeading {
    font-size: 3.4vw;
  }

  .subpage_flexHeading {
    font-size: 7vw;
    padding-bottom: 0;
  }

  .subpage_flexSubHeading {
    font-size: 3vw;
  }

  .subpage_flexSubHeadingRev {
    font-size: 3vw;
  }

  .subpage_flexDescriptionBK {
    font-size: 1.2em;
  }

}

@media screen and (max-width: 576px) {
  .subpage_title {
    font-size: 2rem;
  }
  
  .side_heading .righteous_regular {
    font-size: 3rem;
  }
  
  .subpage_subtitle {
    font-size: 1em;
  }
  
  .subpage_heading {
    font-size: 20px;
  }
  
  .subpage_concept {
    font-size: 2em;
  }
  
  .subpage_text {
    font-size: 1.2em;
  }

  .subpage_contentSubHeading {
    font-size: 1.6em;
  }
  .subpage_contentHeading {
    font-size: 2em;
  }

  .subpage_contentSubHeadingRev {
    font-size: 1.8em;
  }

  .subpage_contentHeadingRev {
    font-size: 2em;
  }

  .features_catchcopy {
    font-size: 3.6em;
    text-align: center;
  }

  .subpage_flexSubHeading {
    padding-bottom: 2rem;
  }
  .subpage_flexDescription {
    font-size: 1.4em;
  }

  .subpage_flexSubHeadingRev {
    font-size: 1.6em;
  }

  
}