@charset "UTF-8";
/* FabU フォント読み込み */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');
/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}


/* ====================================
   FabU フッターデザイン
==================================== */

@media (min-width: 1024px) {

  /* フッター全体 */
  #footer {
    background-color: #17375e;
    padding: 36px 0 24px;
  }

  /* ロゴとメニューを左右に配置 */
  #footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 0;
  }

  /* 左側：FabUロゴ */
  #footer .footer-bottom-logo {
    position: static;
    float: none;
    flex: 0 0 auto;
    margin: 0;
  }

  #footer .footer-bottom-logo .logo-image {
    max-width: 160px;
    padding: 0;
  }

  #footer .footer-bottom-logo img {
    width: 160px;
    height: auto;
    max-width: 100%;
  }

  /* 右側：メニューとコピーライト */
  #footer .footer-bottom-content {
    float: none;
    flex: 1;
    text-align: right;
    margin: 0;
  }

  #footer .navi-footer-in > .menu-footer {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* メニュー文字 */
#footer .navi-footer-in a {
  color: #ffffff !important;
  font-size: 14px;
  text-decoration: none;
}

#footer .navi-footer-in a:hover {
  color: #c8ddf5 !important;
  background: transparent;
}

/* コピーライト */
#footer .copyright,
#footer .source-org {
  color: #dce7f3 !important;
  font-size: 12px;
}

/* スマートフォン */
@media (max-width: 1023px) {
  #footer {
    background-color: #17375e;
    padding: 32px 16px;
  }

  #footer .footer-bottom-logo {
    position: static;
    float: none;
    text-align: center;
    margin: 0 auto 20px;
  }

  #footer .footer-bottom-logo img {
    width: 140px;
    height: auto;
  }

  #footer .footer-bottom-content {
    float: none;
    text-align: center;
  }

  #footer .navi-footer-in > .menu-footer {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* FabU フッター：余白と配置の調整 */

#footer {
  min-height: 160px;
  box-sizing: border-box;
}

#footer .footer-bottom {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

#footer .footer-bottom-logo {
  position: static !important;
  float: none !important;
  margin: 0 !important;
}

#footer .footer-bottom-content {
  float: none !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  #footer .footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }

  #footer .footer-bottom-content {
    text-align: center !important;
  }
}

/* NEWS個別記事：投稿タイトルを表示 */

body.single-post .entry-title {
  display: block !important;
  color: #17375e !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  margin: 0 0 20px !important;
}

@media (max-width: 767px) {
  body.single-post .entry-title {
    font-size: 24px !important;
    line-height: 1.5 !important;
  }
}

/* NEWS記事の前後ナビを非表示 */
body.single-post.category-news .pager-post-navi,
body.single-post.category-news .post-navi {
  display: none !important;
}

/* FabU NEWS：一覧に戻るボタン */

/* ネイビー背景 */
article.category-news-post
.wp-block-buttons .wp-block-button a.wp-block-button__link {
  background-color: #174C84 !important;
  color: #FFFFFF !important;
  border: 1px solid #174C84 !important;
  border-radius: 6px !important;
}

/* ホバー時 */
article.category-news-post
.wp-block-buttons .wp-block-button a.wp-block-button__link:hover {
  background-color: #123A66 !important;
  color: #FFFFFF !important;
}

/* ====================================
   FabU 共通デザイン設定
==================================== */

/* 基本フォント設定 */
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 17px;
  line-height: 1.9;
}

/* 見出しサイズ */
h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.7rem;
  letter-spacing: 0.05em;
}

h3 {
  font-size: 1.3rem;
}

/* 検索ボックス非表示 */
.search-form {
  display: none;
}

/* NEWS項目のフォントサイズ調整 */
.entry-content h3 {
  font-size: 1rem;
  font-weight: 400;
  background: none;
  border: none;
  padding: 0;
}

/* コンテンツ左右余白 */
.entry-content {
  padding: 0 40px;
}

/* ボタンの基本スタイル */
.wp-block-button__link {
  border-radius: 6px !important;
}

/* Archives・Categoriesを非表示 */
.widget_archive,
.widget_categories,
.sidebar-scroll {
  display: none !important;
}

/* NEWSの見出し強制上書き */
.entry-content h3,
.has-text-align-left h3,
article h3 {
  font-size: 1rem !important;
  font-weight: 400 !important;
  background: none !important;
  border-left: none !important;
  padding: 0 !important;
  margin: 0.5em 0 !important;
}

/* ページタイトル「株式会社FabU」を非表示 */
.entry-title {
  display: none;
}

/* アイキャッチ画像（Cocoonデフォルトscreenshot）を非表示 */
.eye-catch img[src*="screenshot"] {
  display: none;
}

/* BUSINESSグレー見出しボックスをフラットに */
.wp-block-heading,
.entry-content h2 {
  background: none !important;
  border: none !important;
  border-bottom: 2px solid #222 !important;
  padding: 0 0 8px 0 !important;
  border-radius: 0 !important;
}

/* ボタンの基本スタイル */
.wp-block-button__link,
.btn {
  color: #fff !important;
  border-radius: 2px !important;
  letter-spacing: 0.05em !important;
}

/* NEWSの日付付きテキストを小さく整える */
.entry-content h3 {
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  background: none !important;
  border-left: none !important;
  border-bottom: none !important;
  padding: 0 !important;
  line-height: 1.7 !important;
}

/* 本文内画像のサイズ調整（ヒーロー以外） */
.entry-content .wp-block-image:not(.alignfull) img {
  max-width: 700px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* ヒーロー画像（全幅指定のもの）は
   画面幅いっぱいに広げる */
.entry-content .wp-block-image.alignfull {
  max-width: 100%;
}

.entry-content .wp-block-image.alignfull img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* ヘッダー下の色の隙間を消す */
body {
  background: #fff;
}

/* BUSINESSの3項目：
   中央に寄せたシンプルな見出し＋下線 */
.entry-content .biz-item-title {
  position: relative;
  font-size: 1.7rem !important;
  font-weight: 700;
  padding-bottom: 16px;
  margin: 48px auto 4px !important;
  max-width: 640px;
}

.entry-content .biz-item-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  background: #999;
  margin-top: 14px;
}

.entry-content .biz-item-title + p {
  line-height: 1.9;
  color: #444;
  margin: 6px auto 0 !important;
  max-width: 640px;
}

/* スマホでの「詳細はこちら」
   ボタンのはみ出し対策 */
@media (max-width: 600px) {
  .wp-block-button__link {
    display: block;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
  }

  .wp-block-buttons {
    width: 100%;
  }
}

/* サイズ固定された画像を
   スマホでも縮小させる */
.entry-content .wp-block-image.is-resized img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
}

/* FabU トップページ：SNSボタンを非表示 */
/* 対象：固定ページID 313 */

body.page-id-313 .sns-share,
body.page-id-313 .sns-follow {
  display: none !important;
}

/* FabU BUSINESS：SNSボタンを非表示 */
/* 対象：固定ページID 48 */

body.page-id-48 .sns-share,
body.page-id-48 .sns-follow {
  display: none !important;
}
/* BUSINESSページ ファーストビュー */

.fabu-business-hero {
  background: linear-gradient(135deg, #f5f8fd, #edf4ff);
  border-radius: 16px;
  padding: 65px 55px;
  margin-bottom: 65px;
}

/* 英語ラベル */
.fabu-business-hero > p:first-child {
  color: #2864a3 !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 18px !important;
}

/* 見出し */
.fabu-business-hero h2 {
  color: #17375e !important;
  font-size: 36px !important;
  font-weight: 700;
  margin: 0 0 25px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.fabu-business-hero h2::before,
.fabu-business-hero h2::after {
  display: none !important;
  content: none !important;
}

/* 説明文 */
.fabu-business-hero > p:not(:first-child) {
  color: #455468;
  font-size: 16px;
  line-height: 1.9;
  max-width: 850px;
}

/* スマートフォン */
@media (max-width: 767px) {
  .fabu-business-hero {
    padding: 40px 24px;
    margin-bottom: 45px;
    border-radius: 12px;
  }

  .fabu-business-hero h2 {
    font-size: 28px !important;
  }

  .fabu-business-hero > p:not(:first-child) {
    font-size: 15px;
  }
}

/* BUSINESS：見出しと説明文の位置を統一 */

/* グループ内の要素を左揃え */
.fabu-business-hero > p,
.fabu-business-hero > h2 {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
  float: none !important;
}

/* H2の黒い下線を削除 */
.fabu-business-hero h2,
.fabu-business-hero h2.wp-block-heading {
  border: none !important;
  border-bottom: none !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 24px !important;
}

/* Cocoonの装飾を解除 */
.fabu-business-hero h2::before,
.fabu-business-hero h2::after {
  content: none !important;
  display: none !important;
}

/* 説明文の余白と行間 */
.fabu-business-hero > p:not(:first-child) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1.9;
}

/* =================================
   FabU BUSINESS 事業紹介セクション
================================= */

/* セクション全体 */
.fabu-service-section {
  margin-top: 30px !important;
  margin-bottom: 70px !important;
  align-items: center !important;
  gap: 5% !important;
}

/* 左右カラムの幅 */
@media (min-width: 782px) {
  .fabu-service-section > .wp-block-column {
    flex-basis: 47.5% !important;
    min-width: 0;
  }
}

/* 英語ラベル */
.fabu-service-section
> .wp-block-column:first-child
> p:first-child {
  color: #2864a3 !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin: 0 0 16px !important;
}

/* H2見出し */
.fabu-service-section h2 {
  color: #17375e !important;
  font-size: 28px !important;
  font-weight: 700;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 25px !important;
}

/* 見出し装飾を削除 */
.fabu-service-section h2::before,
.fabu-service-section h2::after {
  content: none !important;
  display: none !important;
}

/* 説明文 */
.fabu-service-section p {
  color: #455468;
  font-size: 16px;
  line-height: 1.9;
}

/* 主な支援領域 */
.fabu-service-section
> .wp-block-column:first-child
> p:nth-last-child(2) {
  font-weight: 700;
  color: #17375e;
  margin-top: 25px !important;
  margin-bottom: 10px !important;
}

/* 画像 */
.fabu-service-section img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* スマートフォン */
@media (max-width: 781px) {
  .fabu-service-section {
    margin-top: 15px !important;
    margin-bottom: 50px !important;
    gap: 25px !important;
  }

  .fabu-service-section h2 {
    font-size: 24px !important;
  }

  .fabu-service-section p {
    font-size: 15px;
  }
}

/* BUSINESS詳細：見出し下線の削除 */
.fabu-service-section h2,
.fabu-service-section h2.wp-block-heading {
  border: 0 !important;
  border-bottom: none !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
}

.fabu-service-section h2::before,
.fabu-service-section h2::after {
  content: none !important;
  display: none !important;
}

/* BUSINESS：左右反転セクション */

/* 右側の英語ラベル */
.fabu-service-reverse
> .wp-block-column:last-child
> p:first-child {
  color: #2864a3 !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin: 0 0 16px !important;
}

/* 右側の主な支援領域 */
.fabu-service-reverse
> .wp-block-column:last-child
> p:nth-last-child(2) {
  color: #17375e !important;
  font-weight: 700;
  margin-top: 25px !important;
  margin-bottom: 10px !important;
}

/* スマホでは文章を先、画像を後に */
@media (max-width: 781px) {
  .fabu-service-reverse {
    display: flex !important;
    flex-direction: column !important;
  }

  .fabu-service-reverse
  > .wp-block-column:first-child {
    order: 2;
  }

  .fabu-service-reverse
  > .wp-block-column:last-child {
    order: 1;
  }
}

/* ================================
   FabU BUSINESS CONTACT
================================ */

.fabu-contact {
  background: linear-gradient(135deg, #f5f8fd, #edf4ff);
  border-radius: 16px;
  padding: 65px 40px;
  margin: 70px 0 50px !important;
  text-align: center !important;
}

/* 英語ラベル */
.fabu-contact p:first-child {
  color: #2864a3 !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center !important;
}

/* 見出し */
.fabu-contact h2 {
  color: #17375e !important;
  font-size: 30px !important;
  font-weight: 700;
  text-align: center !important;
  width: 100% !important;
  margin: 15px auto 25px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.fabu-contact h2::before,
.fabu-contact h2::after {
  display: none !important;
  content: none !important;
}

/* 説明文 */
.fabu-contact > p {
  text-align: center !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.9;
}

/* ボタン中央揃え */
.fabu-contact .wp-block-buttons {
  display: flex !important;
  justify-content: center !important;
  margin-top: 28px !important;
}

/* ボタンデザイン */
.fabu-contact .wp-block-button__link {
  background: #174c84 !important;
  color: #ffffff !important;
  border: 1px solid #174c84 !important;
  border-radius: 6px !important;
  padding: 16px 28px !important;
  font-weight: 700;
  text-decoration: none !important;
}

.fabu-contact .wp-block-button__link:hover {
  background: #123b68 !important;
}

/* スマートフォン */
@media (max-width: 767px) {
  .fabu-contact {
    padding: 45px 20px;
    margin: 50px 0 35px !important;
    border-radius: 12px;
  }

  .fabu-contact h2 {
    font-size: 25px !important;
  }

  .fabu-contact .wp-block-button__link {
    font-size: 15px;
    padding: 15px 22px !important;
  }
}

/* BUSINESS CONTACT：見出しの黒線を削除 */

.fabu-contact h2,
.fabu-contact h2.wp-block-heading {
  border: 0 !important;
  border-bottom: none !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.fabu-contact h2::before,
.fabu-contact h2::after {
  content: none !important;
  display: none !important;
}

/* ===================================
   FabU BUSINESS：就活マップ支援事例
=================================== */

/* 支援事例全体 */
.fabu-media-case {
  background: #f2f6fc;
  border-radius: 16px;
  padding: 45px 50px;
  margin: 35px 0 70px !important;
  box-sizing: border-box;
}

/* 英語ラベル */
.fabu-media-case > p:first-child {
  color: #2864a3 !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 0 0 12px !important;
}

/* H3見出し */
.fabu-media-case h3 {
  color: #17375e !important;
  font-size: 24px !important;
  font-weight: 700;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 30px !important;
}

.fabu-media-case h3::before,
.fabu-media-case h3::after {
  content: none !important;
  display: none !important;
}

/* 左右2カラム */
.fabu-media-case .wp-block-columns {
  align-items: center !important;
  gap: 35px !important;
}

/* 画像 */
.fabu-media-case .wp-block-image {
  margin: 0 !important;
}

.fabu-media-case .wp-block-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* 説明文 */
.fabu-media-case .wp-block-column p {
  color: #455468;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}

/* テキストリンク */
.fabu-media-case .wp-block-column a {
  color: #174c84 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fabu-media-case .wp-block-column a:hover {
  color: #2873b8 !important;
}

/* スマートフォン */
@media (max-width: 781px) {
  .fabu-media-case {
    padding: 30px 22px;
    margin: 25px 0 50px !important;
    border-radius: 12px;
  }

  .fabu-media-case h3 {
    font-size: 21px !important;
    margin-bottom: 22px !important;
  }

  .fabu-media-case .wp-block-columns {
    gap: 20px !important;
  }

  .fabu-media-case .wp-block-column p {
    font-size: 14px;
  }
}

/* 就活マップ支援事例：最終調整 */

/* H3見出しのサイズ・装飾 */
.fabu-media-case h3.wp-block-heading {
  font-size: 25px !important;
  line-height: 1.5 !important;
  font-weight: 700 !important;
  color: #17375e !important;
  border: none !important;
  padding: 0 !important;
  margin: 12px 0 28px !important;
  background: transparent !important;
}

/* 2カラムを横幅いっぱいに */
.fabu-media-case > .wp-block-columns {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 左右の幅を均等に */
@media (min-width: 782px) {
  .fabu-media-case > .wp-block-columns
  > .wp-block-column {
    flex-basis: 50% !important;
    min-width: 0;
  }
}

/* 画像の幅を最大化 */
.fabu-media-case .wp-block-image,
.fabu-media-case .wp-block-image a,
.fabu-media-case .wp-block-image img {
  width: 100% !important;
  max-width: 100% !important;
}

/* スマホ調整 */
@media (max-width: 781px) {
  .fabu-media-case h3.wp-block-heading {
    font-size: 21px !important;
    margin-bottom: 20px !important;
  }
}

/* FabU BUSINESS：ページ全体を中央配置 */
body.page-id-48 #content-in {
  display: block !important;
}

body.page-id-48 #main {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* ====================================
   FabU BUSINESS：不要な表示を非表示
   対象：本番固定ページ ID 48
==================================== */

/* 公開日・更新日を非表示 */
body.page-id-48 .date-tags,
body.page-id-48 .post-date,
body.page-id-48 .post-update,
body.page-id-48 .post-date-in,
body.page-id-48 .post-update-in {
  display: none !important;
}

/* ページ末尾の編集リンクを非表示 */
body.page-id-48 .edit-link,
body.page-id-48 .post-edit-link {
  display: none !important;
}

/* パンくずリストを非表示 */
body.page-id-48 .breadcrumb,
body.page-id-48 .breadcrumbs {
  display: none !important;
}

/* FabU フッター：ロゴを白色にする */
#footer .footer-bottom-logo img {
  filter: brightness(0) invert(1);
}

/* ====================================
   FabU COMPANY ファーストビュー
==================================== */

.fabu-company-hero {
  background: linear-gradient(135deg, #f5f8fd, #edf4ff);
  border-radius: 16px;
  padding: 65px 55px;
  margin-bottom: 65px;
}

/* 英語ラベル */
.fabu-company-hero > p:first-child {
  color: #2864a3 !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 18px !important;
}

/* 見出し */
.fabu-company-hero h2,
.fabu-company-hero h2.wp-block-heading {
  color: #17375e !important;
  font-size: 36px !important;
  font-weight: 700;
  border: none !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
  text-align: left !important;
}

.fabu-company-hero h2::before,
.fabu-company-hero h2::after {
  content: none !important;
  display: none !important;
}

/* 説明文 */
.fabu-company-hero > p:not(:first-child) {
  color: #455468;
  font-size: 16px;
  line-height: 1.9;
  text-align: left !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* スマートフォン */
@media (max-width: 767px) {
  .fabu-company-hero {
    padding: 40px 24px;
    margin-bottom: 45px;
    border-radius: 12px;
  }

  .fabu-company-hero h2 {
    font-size: 28px !important;
  }

  .fabu-company-hero > p:not(:first-child) {
    font-size: 15px;
  }
}

/* ====================================
   FabU COMPANY ABOUT FabU
==================================== */

/* 2カラム全体 */
.fabu-company-about {
  align-items: center !important;
  gap: 5% !important;
  margin: 30px 0 75px !important;
}

/* 左右のカラム幅 */
@media (min-width: 782px) {
  .fabu-company-about > .wp-block-column {
    flex-basis: 47.5% !important;
    min-width: 0;
  }
}

/* 英語ラベル */
.fabu-company-about
> .wp-block-column:first-child
> p:first-child {
  color: #2864a3 !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin: 0 0 16px !important;
}

/* H2見出し */
.fabu-company-about h2,
.fabu-company-about h2.wp-block-heading {
  color: #17375e !important;
  font-size: 28px !important;
  font-weight: 700;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 25px !important;
}

.fabu-company-about h2::before,
.fabu-company-about h2::after {
  content: none !important;
  display: none !important;
}

/* 会社紹介文 */
.fabu-company-about
> .wp-block-column:first-child
> p:not(:first-child) {
  color: #455468;
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 20px !important;
}

/* 画像 */
.fabu-company-about .wp-block-image {
  margin: 0 !important;
}

.fabu-company-about img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* スマートフォン */
@media (max-width: 781px) {
  .fabu-company-about {
    gap: 25px !important;
    margin: 20px 0 55px !important;
  }

  .fabu-company-about h2 {
    font-size: 24px !important;
  }

  .fabu-company-about
  > .wp-block-column:first-child
  > p:not(:first-child) {
    font-size: 15px;
    margin-bottom: 16px !important;
  }
}

/* ====================================
   FabU COMPANY 会社概要表
==================================== */

.fabu-company-profile {
  margin: 50px 0 75px !important;
}

/* 英語ラベル */
.fabu-company-profile > p:first-child {
  color: #2864a3 !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 0 0 14px !important;
}

/* 見出し */
.fabu-company-profile h2,
.fabu-company-profile h2.wp-block-heading {
  color: #17375e !important;
  font-size: 30px !important;
  font-weight: 700;
  margin: 0 0 30px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.fabu-company-profile h2::before,
.fabu-company-profile h2::after {
  content: none !important;
  display: none !important;
}

/* テーブル全体 */
.fabu-company-profile .wp-block-table {
  width: 100% !important;
  margin: 0 !important;
  overflow-x: auto;
}

.fabu-company-profile table {
  width: 100% !important;
  border-collapse: collapse !important;
  table-layout: fixed;
  background: #ffffff;
}

/* セル */
.fabu-company-profile td {
  border: none !important;
  border-bottom: 1px solid #dce5f0 !important;
  padding: 22px 20px !important;
  color: #455468;
  font-size: 15px;
  line-height: 1.9;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

/* 左列：項目名 */
.fabu-company-profile td:first-child {
  width: 25%;
  color: #17375e;
  font-weight: 700;
  background: #f5f8fd;
}

/* 右列：内容 */
.fabu-company-profile td:last-child {
  width: 75%;
  background: #ffffff;
}

/* リンク */
.fabu-company-profile td a {
  color: #174c84 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* スマートフォン */
@media (max-width: 767px) {
  .fabu-company-profile {
    margin: 35px 0 55px !important;
  }

  .fabu-company-profile h2 {
    font-size: 25px !important;
  }

  .fabu-company-profile td {
    padding: 14px 10px !important;
    font-size: 13px;
    line-height: 1.8;
  }

  .fabu-company-profile td:first-child {
    width: 34%;
  }

  .fabu-company-profile td:last-child {
    width: 66%;
  }
}

/* ====================================
   FabU COMPANY：SNSボタンを非表示
   対象：固定ページ ID 50
==================================== */

body.page-id-50 .sns-share,
body.page-id-50 .sns-follow,
body.page-id-50 .sns-share-message,
body.page-id-50 .sns-follow-message {
  display: none !important;
}

/* ====================================
   FabU NEWS ファーストビュー
==================================== */

.fabu-news-hero {
  background: linear-gradient(135deg, #f5f8fd, #edf4ff);
  border-radius: 16px;
  padding: 65px 55px;
  margin-bottom: 55px;
}

/* 英語ラベル */
.fabu-news-hero > p:first-child {
  color: #2864a3 !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 18px !important;
  text-align: left !important;
}

/* 見出し */
.fabu-news-hero h2,
.fabu-news-hero h2.wp-block-heading {
  color: #17375e !important;
  font-size: 36px !important;
  font-weight: 700;
  border: none !important;
  border-bottom: none !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
  text-align: left !important;
}

.fabu-news-hero h2::before,
.fabu-news-hero h2::after {
  content: none !important;
  display: none !important;
}

/* 説明文 */
.fabu-news-hero > p:not(:first-child) {
  color: #455468;
  font-size: 16px;
  line-height: 1.9;
  max-width: none !important;
  margin-left: 0 !important;
  text-align: left !important;
}

/* スマートフォン */
@media (max-width: 767px) {
  .fabu-news-hero {
    padding: 40px 24px;
    margin-bottom: 40px;
    border-radius: 12px;
  }

  .fabu-news-hero h2 {
    font-size: 28px !important;
  }

  .fabu-news-hero > p:not(:first-child) {
    font-size: 15px;
  }
}


/* ====================================
   FabU NEWS 投稿一覧デザイン
==================================== */

/* 一覧全体 */
.fabu-news-list {
  width: 100% !important;
  max-width: none !important;
  margin: 55px auto 70px !important;
}

/* 英語ラベル */
.fabu-news-list > p:first-child {
  color: #2864a3 !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.16em;
}

/* 一覧見出し */
.fabu-news-list > h2,
.fabu-news-list > h2.wp-block-heading {
  color: #17375e !important;
  font-size: 28px !important;
  font-weight: 700;
  border: none !important;
  border-bottom: none !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 28px !important;
}

.fabu-news-list > h2::before,
.fabu-news-list > h2::after {
  content: none !important;
  display: none !important;
}

/* クエリーループ全体 */
.fabu-news-list .wp-block-query,
.fabu-news-list .wp-block-post-template {
  width: 100% !important;
  max-width: none !important;
}

/* 投稿一覧 */
.fabu-news-list .wp-block-post-template {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none;
}

/* 各投稿 */
.fabu-news-list .wp-block-post {
  border-bottom: 1px solid #dce5f0;
  margin: 0 !important;
  padding: 0 !important;
}

/* 日付とタイトルを横並び */
.fabu-news-list .wp-block-post > .wp-block-group {
  display: flex !important;
  align-items: center !important;
  gap: 30px !important;
  width: 100% !important;
  box-sizing: border-box;
  padding: 22px 12px !important;
  margin: 0 !important;
}

/* 投稿日 */
.fabu-news-list .wp-block-post-date {
  flex: 0 0 135px;
  width: 135px;
  color: #71829b !important;
  font-size: 14px !important;
  margin: 0 !important;
}

/* 投稿タイトル */
.fabu-news-list .wp-block-post-title {
  flex: 1;
  color: #17375e !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* タイトルリンク */
.fabu-news-list .wp-block-post-title a {
  color: #17375e !important;
  text-decoration: none !important;
}

.fabu-news-list .wp-block-post-title a:hover {
  color: #2864a3 !important;
}

/* スマートフォン */
@media (max-width: 767px) {
  .fabu-news-list {
    margin: 40px auto 55px !important;
  }

  .fabu-news-list > h2 {
    font-size: 25px !important;
  }

  .fabu-news-list .wp-block-post > .wp-block-group {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 20px 5px !important;
  }

  .fabu-news-list .wp-block-post-date {
    flex: none;
    width: auto;
    font-size: 13px !important;
  }

  .fabu-news-list .wp-block-post-title {
    font-size: 15px !important;
  }
}

/* FabU NEWS：SNSボタンを非表示 */
body.page:has(.fabu-news-hero) .sns-share,
body.page:has(.fabu-news-hero) .sns-follow,
body.page:has(.fabu-news-hero) .sns-share-message,
body.page:has(.fabu-news-hero) .sns-follow-message {
  display: none !important;
}

/* ====================================
   FabU CONTACT ファーストビュー
==================================== */

.fabu-form-hero {
  background: linear-gradient(135deg, #f5f8fd, #edf4ff);
  border-radius: 16px;
  padding: 65px 55px;
  margin-bottom: 55px;
}

.fabu-form-hero > p:first-child {
  color: #2864a3 !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 18px !important;
}

body .fabu-form-hero h2,
body .fabu-form-hero h2.wp-block-heading {
  color: #17375e !important;
  font-size: 36px !important;
  font-weight: 700;
  border: none !important;
  border-bottom: none !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
  text-align: left !important;
}

body .fabu-form-hero h2::before,
body .fabu-form-hero h2::after {
  content: none !important;
  display: none !important;
}

.fabu-form-hero > p:not(:first-child) {
  color: #455468;
  font-size: 16px;
  line-height: 1.9;
  max-width: none !important;
  margin-left: 0 !important;
  text-align: left !important;
}

/* ====================================
   FabU CONTACT フォーム
==================================== */

.fabu-contact-form {
  width: 100% !important;
  max-width: 800px !important;
  margin: 55px auto 80px !important;
  box-sizing: border-box;
}

/* 英語ラベル */
.fabu-contact-form > p:first-child {
  color: #2864a3 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em;
  margin: 0 0 16px !important;
}

/* 見出し */
body .fabu-contact-form h2,
body .fabu-contact-form h2.wp-block-heading {
  color: #17375e !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  border: none !important;
  border-bottom: none !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 0 22px !important;
}

body .fabu-contact-form h2::before,
body .fabu-contact-form h2::after {
  content: none !important;
  display: none !important;
}

/* 説明文 */
.fabu-contact-form > p {
  line-height: 1.9;
  color: #455468;
}

/* フォーム領域 */
.fabu-contact-form .wpcf7 {
  width: 100%;
  margin-top: 30px;
}

/* 入力ラベル */
.fabu-contact-form .wpcf7 form label {
  display: block;
  color: #17375e;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}

/* 入力欄 */
.fabu-contact-form .wpcf7 input[type="text"],
.fabu-contact-form .wpcf7 input[type="email"],
.fabu-contact-form .wpcf7 input[type="tel"],
.fabu-contact-form .wpcf7 textarea,
.fabu-contact-form .wpcf7 select {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  background: #ffffff !important;
  border: 1px solid #d5e1ef !important;
  border-radius: 6px !important;
  padding: 13px 15px !important;
  color: #17375e !important;
  font-size: 15px !important;
  line-height: 1.6;
  margin-top: 6px;
}

/* 入力中 */
.fabu-contact-form .wpcf7 input:focus,
.fabu-contact-form .wpcf7 textarea:focus,
.fabu-contact-form .wpcf7 select:focus {
  outline: 2px solid #93b6df !important;
  outline-offset: 1px;
  border-color: #2864a3 !important;
}

/* テキストエリア */
.fabu-contact-form .wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

/* 項目間の余白 */
.fabu-contact-form .wpcf7 form > p {
  margin-bottom: 24px !important;
}

/* 送信ボタン */
.fabu-contact-form .wpcf7 input[type="submit"] {
  display: block;
  width: auto !important;
  min-width: 240px;
  max-width: 100%;
  margin: 35px auto 0 !important;
  padding: 16px 35px !important;
  background: #174c84 !important;
  color: #ffffff !important;
  border: 1px solid #174c84 !important;
  border-radius: 6px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: background 0.3s ease;
}

/* ホバー時 */
.fabu-contact-form .wpcf7 input[type="submit"]:hover {
  background: #123b68 !important;
  border-color: #123b68 !important;
}

/* 送信結果メッセージ */
.fabu-contact-form .wpcf7-response-output {
  border-radius: 6px;
  padding: 15px !important;
  margin: 24px 0 !important;
  line-height: 1.8;
}

/* ====================================
   CONTACT スマートフォン表示
==================================== */

@media (max-width: 767px) {
  .fabu-form-hero {
    padding: 40px 24px;
    margin-bottom: 40px;
    border-radius: 12px;
  }

  body .fabu-form-hero h2 {
    font-size: 28px !important;
  }

  .fabu-form-hero > p:not(:first-child) {
    font-size: 15px;
  }

  .fabu-contact-form {
    max-width: 100% !important;
    margin: 40px auto 60px !important;
  }

  body .fabu-contact-form h2 {
    font-size: 25px !important;
  }

  .fabu-contact-form .wpcf7 form label {
    font-size: 14px;
  }

  .fabu-contact-form .wpcf7 input[type="text"],
  .fabu-contact-form .wpcf7 input[type="email"],
  .fabu-contact-form .wpcf7 input[type="tel"],
  .fabu-contact-form .wpcf7 textarea {
    font-size: 16px !important;
  }

  .fabu-contact-form .wpcf7 input[type="submit"] {
    width: 100% !important;
    min-width: 0;
  }
}

/* ====================================
   FabU CONTACT：SNSボタンを非表示
==================================== */

body.page:has(.fabu-form-hero) .sns-share,
body.page:has(.fabu-form-hero) .sns-follow,
body.page:has(.fabu-form-hero) .sns-share-message,
body.page:has(.fabu-form-hero) .sns-follow-message {
  display: none !important;
}

/* ====================================
   FabU TOPページ 本番環境用CSS
   対象：固定ページ ID313
==================================== */

/* TOPページ全体を中央配置 */
body.page-id-313 #content-in {
  display: block !important;
}

body.page-id-313 #main {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* ====================================
   1. ファーストビュー
==================================== */

body.page-id-313 .fabu-hero {
  background: linear-gradient(135deg, #f7faff, #edf4ff);
  padding: 48px;
  border-radius: 16px;
  gap: 36px;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 60px;
  box-sizing: border-box;
}

/* 英語サブタイトル */
body.page-id-313 .fabu-hero .fabu-hero__eyebrow {
  color: #2864a3;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

/* メインキャッチコピー */
body.page-id-313 .fabu-hero h1,
body.page-id-313 .fabu-hero h2 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.35;
  font-weight: 700;
  color: #17375e;
  background: none !important;
  background-image: none !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
}

body.page-id-313 .fabu-hero h1::before,
body.page-id-313 .fabu-hero h1::after,
body.page-id-313 .fabu-hero h2::before,
body.page-id-313 .fabu-hero h2::after {
  content: none !important;
  display: none !important;
}

/* 説明文 */
body.page-id-313 .fabu-hero .fabu-hero__text {
  font-size: 16px;
  line-height: 1.9;
  color: #455468;
  margin-top: 16px;
}

/* 右側画像 */
body.page-id-313 .fabu-hero img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: auto;
}

/* CTAボタン共通 */
body.page-id-313 .fabu-hero
.fabu-hero__buttons .wp-block-button__link {
  display: inline-block;
  border-radius: 6px !important;
  padding: 14px 26px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* 1つ目：ネイビー */
body.page-id-313 .fabu-hero
.fabu-hero__buttons
.wp-block-button:first-child .wp-block-button__link {
  background: #174c84 !important;
  background-color: #174c84 !important;
  color: #ffffff !important;
  border: 1px solid #174c84 !important;
}

/* 2つ目：白背景とネイビー枠 */
body.page-id-313 .fabu-hero
.fabu-hero__buttons
.wp-block-button:last-child .wp-block-button__link {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #174c84 !important;
  border: 1px solid #174c84 !important;
}

/* ボタンのホバー */
body.page-id-313 .fabu-hero
.fabu-hero__buttons .wp-block-button__link:hover {
  opacity: 0.85;
}


/* ====================================
   2. 事業内容セクション
==================================== */

/* 英語セクションラベル */
body.page-id-313 .fabu-section-label {
  color: #2864a3 !important;
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-bottom: 10px !important;
}

/* 3カラム全体 */
body.page-id-313 .fabu-business-cards {
  display: flex;
  align-items: stretch;
  gap: 24px;
  margin-top: 36px;
  margin-bottom: 64px;
}

/* 各事業カード */
body.page-id-313 .fabu-business-cards
> .wp-block-column {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e1e8f0;
  border-radius: 12px;
  padding: 30px 26px;
  box-shadow: 0 4px 18px rgba(25, 55, 90, 0.05);
  min-width: 0;
  box-sizing: border-box;
}

/* 事業カードの見出し */
body.page-id-313 .fabu-business-cards h3,
body.page-id-313 .fabu-business-cards
.wp-block-column h3 {
  color: #17375e !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  padding: 0 0 12px !important;
  margin: 0 0 16px !important;
  background: none !important;
  background-image: none !important;
  border: none !important;
  border-bottom: 1px solid #d8e2ef !important;
  box-shadow: none !important;
}

body.page-id-313 .fabu-business-cards h3::before,
body.page-id-313 .fabu-business-cards h3::after {
  content: none !important;
  display: none !important;
}

/* 説明文 */
body.page-id-313 .fabu-business-cards p {
  color: #4a596c;
  font-size: 15px;
  line-height: 1.9;
  margin: 0 !important;
}

/* PCでは説明文の高さを統一 */
@media (min-width: 768px) {
  body.page-id-313 .fabu-business-cards
  > .wp-block-column > p {
    min-height: 110px;
  }
}

/* 画像領域 */
body.page-id-313 .fabu-business-cards
.wp-block-image {
  margin: 0 !important;
  width: 100%;
}

/* 画像のサイズ・比率 */
body.page-id-313 .fabu-business-cards
.wp-block-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

/* カード下部のリンク */
body.page-id-313 .fabu-business-cards
.fabu-card-link {
  margin-top: auto !important;
  padding-top: 20px;
  font-size: 14px;
  font-weight: 600;
}

body.page-id-313 .fabu-business-cards
.fabu-card-link a {
  color: #174c84 !important;
  text-decoration: none !important;
}

body.page-id-313 .fabu-business-cards
.fabu-card-link a:hover {
  text-decoration: underline !important;
}

/* 3つ目のカード画像の位置調整 */
body.page-id-313 .fabu-business-cards
> .wp-block-column:nth-child(3)
.wp-block-image {
  overflow: hidden;
  border-radius: 6px;
}

body.page-id-313 .fabu-business-cards
> .wp-block-column:nth-child(3)
.wp-block-image img {
  width: calc(100% + 12px);
  max-width: none;
  transform: translateX(-12px);
}


/* ====================================
   3. ABOUT FabU 会社紹介
==================================== */

/* セクション全体 */
body.page-id-313 .fabu-about {
  background: #f5f8fc;
  border-radius: 16px;
  padding: 50px;
  gap: 48px;
  align-items: center !important;
  margin-top: 64px;
  margin-bottom: 64px;
  box-sizing: border-box;
}

/* 英語ラベル */
body.page-id-313 .fabu-about-label {
  color: #2864a3 !important;
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-bottom: 12px !important;
}

/* 日本語見出し */
body.page-id-313 .fabu-about h2,
body.page-id-313 .fabu-about h2.wp-block-heading {
  color: #17375e !important;
  font-size: 32px !important;
  font-weight: 700;
  line-height: 1.4;
  padding: 0 !important;
  margin: 0 0 28px !important;
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

body.page-id-313 .fabu-about h2::before,
body.page-id-313 .fabu-about h2::after {
  content: none !important;
  display: none !important;
}

/* 会社紹介文 */
body.page-id-313 .fabu-about
p:not(.fabu-about-label) {
  color: #455468;
  font-size: 16px;
  line-height: 2;
}

/* 会社紹介画像 */
body.page-id-313 .fabu-about
.wp-block-image {
  margin: 0 !important;
}

body.page-id-313 .fabu-about
.wp-block-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* 会社概要ボタン */
body.page-id-313 .fabu-about
.fabu-about-button .wp-block-button__link {
  background-color: #174c84 !important;
  color: #ffffff !important;
  border: 1px solid #174c84 !important;
  border-radius: 6px !important;
  padding: 14px 28px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

body.page-id-313 .fabu-about
.fabu-about-button .wp-block-button__link:hover {
  background-color: #123a66 !important;
}


/* ====================================
   4. TOPページ NEWS一覧
==================================== */

/*
   NEWS固定ページのクエリーループには
   影響しないようTOPページに限定
*/

/* 一覧全体 */
body.page-id-313 .fabu-news-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 24px 0 48px !important;
}

/* 各記事 */
body.page-id-313 .fabu-news-list li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 12px;
  margin: 0 !important;
  border-bottom: 1px solid #dce5ef;
}

/* 最初の記事の上線 */
body.page-id-313 .fabu-news-list li:first-child {
  border-top: 1px solid #dce5ef;
}

/* 投稿日 */
body.page-id-313 .fabu-news-list
.wp-block-latest-posts__post-date {
  min-width: 110px;
  color: #66788f;
  font-size: 13px;
  flex-shrink: 0;
}

/* 記事タイトルリンク */
body.page-id-313 .fabu-news-list a {
  color: #17375e !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
}

body.page-id-313 .fabu-news-list a:hover {
  color: #2864a3 !important;
}

/* PCでは日付を先に配置 */
@media (min-width: 768px) {
  body.page-id-313 .fabu-news-list li {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 28px;
  }

  body.page-id-313 .fabu-news-list
  .wp-block-latest-posts__post-date {
    order: -1;
    width: 120px;
    min-width: 120px;
    margin: 0 !important;
  }

  body.page-id-313 .fabu-news-list li > a {
    order: 1;
    flex: 1;
  }
}


/* ====================================
   5. スマートフォン表示
==================================== */

@media (max-width: 767px) {

  /* ファーストビュー */
  body.page-id-313 .fabu-hero {
    padding: 28px 18px;
    gap: 24px;
    border-radius: 12px;
  }

  body.page-id-313 .fabu-hero h1,
  body.page-id-313 .fabu-hero h2 {
    font-size: 30px !important;
  }

  body.page-id-313 .fabu-hero
  .fabu-hero__text {
    font-size: 15px;
  }

  /* 事業紹介カード */
  body.page-id-313 .fabu-business-cards {
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
    margin-bottom: 44px;
  }

  body.page-id-313 .fabu-business-cards
  > .wp-block-column {
    width: 100%;
    flex-basis: auto !important;
    padding: 26px 22px;
  }

  body.page-id-313 .fabu-business-cards h3 {
    font-size: 19px !important;
  }

  body.page-id-313 .fabu-business-cards p {
    font-size: 14px;
  }

  body.page-id-313 .fabu-business-cards
  > .wp-block-column > p {
    min-height: 0;
  }

  /* 会社紹介 */
  body.page-id-313 .fabu-about {
    padding: 28px 20px;
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  body.page-id-313 .fabu-about h2 {
    font-size: 26px !important;
    margin-bottom: 20px !important;
  }

  body.page-id-313 .fabu-about
  p:not(.fabu-about-label) {
    font-size: 15px;
    line-height: 1.9;
  }

  /* NEWS一覧 */
  body.page-id-313 .fabu-news-list li {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 4px;
  }

  body.page-id-313 .fabu-news-list
  .wp-block-latest-posts__post-date {
    order: -1;
    min-width: auto;
    margin: 0 !important;
    font-size: 12px;
  }

  body.page-id-313 .fabu-news-list li > a {
    order: 1;
  }

  body.page-id-313 .fabu-news-list a {
    font-size: 14px;
  }
}

/* ====================================
   TOPページ専用CSS ここまで
==================================== */



/* FabU TOP：ファーストビューのボタンを横並び */
body.page-id-313 .fabu-hero .fabu-hero__buttons {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 8px !important;
}

body.page-id-313 .fabu-hero .fabu-hero__buttons .wp-block-button {
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
}

body.page-id-313 .fabu-hero .fabu-hero__buttons .wp-block-button__link {
  width: auto !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  white-space: nowrap !important;
}

/* スマートフォンでは必要に応じて折り返す */
@media (max-width: 767px) {
  body.page-id-313 .fabu-hero .fabu-hero__buttons {
    flex-wrap: wrap !important;
  }
}
