/*
Theme Name: Xeory Base Child
Theme URI: https://gate.tzcarport.com/
Description: Child theme for Xeory Base
Author: 東西海運
Author URI: https://bazubu.com/
Template: xeory_base
Version: 0.6.1
*/
/*  コピー*/
.footer-02 .footer-copy {
 text-align: center !important;
}
/* RSS(ヘッダーSNS) 非表示：強制 */
header#header #header-sns{
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
:root{
  --primary: #2E3192;
  --accent:  red;
  --text:    #333;
}

form button {
 background: #2E3192 !important;
    color: #fff;
}
.home #header {
    padding: 10px 0 8px !important;
}
/* リンク */
a{ color: var(--primary); }
a:hover{ opacity: .8; }
/*  ページトップリンク*/
.pagetop.show {
    z-index: 100;
}

/* ボタンっぽい要素（テーマによってclassが違うので広めに当てる） */
button,
input[type="submit"],
.wp-block-button__link{
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.wp-block-button__link:hover{ opacity: .9; }

.side-widget {
    margin-bottom: 24px !important;
    padding-bottom: 24px !important;
}
.post-content h3 {
    margin: 1.3em 0 !important;
}
.side-widget ul li {
    padding: 16px 10px !important;
}
.wp-block-group {
    background: #fff;
}
/*  フッター*/
.footer-01 ul {
 text-align: center !important;
}
.footer-01 {
    background: #2E3192 !important;
}
ul#footer-nav li a {
    color: #fff;
    font-weight: bold;
}
/* サイドカラムの見出し */
.widgettitle {
    font-weight: 600;
    display: flex;
    align-items: center;
    color: #2E3192;
    background-color: #efecea;
    margin-bottom: 0;
    padding: 7px 13px;
    font-size: 1.2em;
}
.dfont {
    font-family: "Quicksand", "Avenir", "Arial", "BIZ UDGothic", YuGothic, "Yu Gothic", "Hiragino Sans", "ヒラギノ角ゴシック", "メイリオ", Meiryo, sans-serif;
}
.widgettitle::before {
    content: "\f1b9";
    padding-right: 6px;
    font-family: "Font Awesome 6 Free", "Font Awesome 7 Free", FontAwesome;
    font-weight: 900;
    color: #2E3192;
}
/* ===== ファーストビュー ===== */
/* --- トップ：1カラム化（サイドバー下） --- */
.page-id-18 .wrap.clearfix #main,
.page-id-18 .wrap.clearfix #side{
  margin:auto;
}
body.page-id-18.left-content #side{
  width: 290px;
  float: right;
}
@media (max-width: 767px){
  .home.page-id-18 .wrap.clearfix #main,
  .home.page-id-18 .wrap.clearfix #side{
    float: none !important;
    width: 100% !important;
    max-width: none !important;
  }

  .home.page-id-18 .wrap.clearfix #side{
    clear: both;
    margin-top: 32px;
  }

  /* 右余白（サイドバー用）をスマホでは解除 */
  .home.page-id-18.left-content .main-inner{
    margin-right: 0 !important;
  }
}

/* --- トップ：タイトル非表示・余白詰め --- */
.page-id-18 .post-title{ display: none; margin: 0; }
.page-id-18 article.page .post-header{ padding: 0; }

/* --- トップ：本文幅（ここが崩れ対策の核） --- */
.page-id-18 .post-content{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
}
@media (max-width: 991px){
  /* トップページだけ：記事の白枠を消す */
  .page-id-18 article.page{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
  }
  .page-id-18 article.page .post-header {
    padding: 0px !important;
    }
}
.home.page-id-18 #content{
  padding-top: 20px !important;
}
/* トップ（page-id-18）のクエリループをカード2列にする */
.home.page-id-18 .wp-block-post-template{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

/* 1記事カード */
.home.page-id-18 .wp-block-post{
  border: 1px solid #e5e5e5;
  background: #fff;
  overflow: hidden;
}

/* アイキャッチ */
.home.page-id-18 .wp-block-post-featured-image,
.home.page-id-18 .wp-block-post-featured-image a{
  display: block;
}
.home.page-id-18 .wp-block-post-featured-image img{
  width: 100%;
  height: auto;
  display: block;
}

/* タイトル */
.home.page-id-18 .wp-block-post-title{
  margin: 0;
  padding: 12px 14px 14px;
  font-size: 16px;
  line-height: 1.5;
}
.home.page-id-18 .wp-block-post-title a{
  text-decoration: none;
}

/* 抜粋を入れる場合 */
.home.page-id-18 .wp-block-post-excerpt{
  margin: 0;
  padding: 0 14px 14px;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

/* スマホは1列 */
@media (max-width: 767px){
  .home.page-id-18 .wp-block-post-template{
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* トップ：新着記事 */
.top-posts { margin-top: 32px; }
.top-posts-title { margin: 0 0 16px; font-size: 20px; }

.top-posts-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.top-post-card{
  border: 1px solid #e5e5e5;
  background: #fff;
  overflow: hidden;
}

.top-post-link{
  display: block;
  color: inherit;
  text-decoration: none;
}

.top-post-thumb img{
  width: 100%;
  height: auto;
  display: block;
}

.top-post-title{
  margin: 0;
  padding: 0 13px;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 767px){
  .top-posts-grid{ grid-template-columns: 1fr; gap: 16px; }
}

/* ===== トップ：新着記事（安定化） ===== */

/* タイトルの青リンクをテーマに依存させない */
.top-posts .top-post-title a,
.top-posts a.top-post-link{
  color: inherit;
  text-decoration: none;
}

/* ホバー（任意） */
.top-posts .top-post-link:hover{
  opacity: .9;
}

/* 画像のサイズ差でガタつくのを防ぐ */
.top-post-thumb{
  aspect-ratio: 16 / 9;      /* 画像枠の比率固定 */
  overflow: hidden;
  background: #f3f3f3;
}
.top-post-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;         /* トリミングして枠に合わせる */
  display: block;
}


/* 画面が狭いPC/タブレットで1列に落ちる境界を少し広めに */
@media (max-width: 900px){
  .top-posts-grid{ grid-template-columns: 1fr; }
}
body.page-id-18.left-content #main{
  float: left !important;
}

body.page-id-18.left-content #side{
  float: right !important;
}

/* メイン幅：サイド290px想定（必要なら調整） */
body.page-id-18.left-content #side{
  width: 290px !important;
  margin-left: 0 !important;
}

body.page-id-18.left-content #main{
  width: calc(100% - 290px) !important;
}

/* floatの回り込み崩れ防止 */
body.page-id-18 .wrap.clearfix::after{
  content:"";
  display:block;
  clear:both;
}
/* =========================
   トップ(page-id-18)：FVは中央のコンテナ（最大1200px）
   FVの下は通常2カラムに戻す
========================= */

/* FV：コンテナ内で中央寄せ（幅はヘッダーに合わせる） */
body.page-id-18 .post-content .fv{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 32px; /* 下に余白 */
  position: relative;
}

/* FV内の文字ブロック */
body.page-id-18 .post-content .fv-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px;
}

/* 重要：サイドバーを下に落とす指定は “無効化” する */
body.page-id-18.left-content #side{
  clear: none !important;
}

/* =========================
  トップ(page-id-18)
  FVは横いっぱい（メイン+サイド分）
  FVの下から 2カラム（左:新着 / 右:サイド）
========================= */

/* wrap の回り込み解除（念のため） */
body.page-id-18 .wrap.clearfix::after{
  content:"";
  display:block;
  clear:both;
}

/* 2カラムの基本（PC） */
@media (min-width: 768px){

  body.page-id-18.left-content #main{
    float: left !important;
    width: calc(100% - 290px) !important;
  }
  /* FVを「メイン + サイド」まで横に伸ばす */
  body.page-id-18.left-content #main .fv{
    height: 70vh;             /* サイドの padding-top と合わせる */
    min-height: 70vh;
    width: calc(100% + 290px);
    margin-right: -290px;
    position: relative;
    z-index: 2;               /* サイドより上に */
  }

  /* サイドはFVより下のレイヤーに */
  body.page-id-18.left-content #side{
    position: relative;
    z-index: 1;
  }

  /* FV内テキスト（お好みで） */
  body.page-id-18.left-content #main .fv-inner{
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px;
  }

  /* 新着記事は通常どおり #main 幅（= サイドの横）でOK */
  body.page-id-18 .top-posts{
    margin-top: 32px;
  }
}
@media (min-width: 991px) {
  body.page-id-18.left-content #side{
    float: right !important;
    width: 290px !important;
    margin-left: 0 !important;

    /* ★FVの分だけ下げて、トップ記事の横から始める */
    padding-top: 58.5vh;
    box-sizing: border-box;
  }
}

@media (min-width: 768px) and (max-width: 990px){
 /* 画面サイズが768px以上、959px未満の設定 */
     body.page-id-18.left-content #side {
        padding-top: 61vh;
    }
}
/* スマホは 1カラム */
@media (max-width: 767px){
  body.page-id-18.left-content #main,
  body.page-id-18.left-content #side{
    float: none !important;
    width: 100% !important;
  }

  body.page-id-18.left-content #side{
    padding-top: 0 !important;
    margin-top: 24px;
  }
  /* FV：高さ固定をやめて端末差に強くする */
  body.page-id-18.left-content #main .fv{
    width: 100% !important;
    margin-right: 0 !important;

    height: auto !important;     /* 固定しない */
    min-height: 60svh;           /* iPhoneのアドレスバー変動に強い */
    min-height: 60vh;            /* 保険 */
    box-sizing: border-box;
  }

  /* FV内側：40px固定は重いのでスマホは軽くする */
  body.page-id-18 .post-content .fv-inner{
    padding: 16px !important;
    box-sizing: border-box;
  }
}
/* iPhone SE 等（横幅が小さめ）のFV詰まり対策 */
@media (max-width: 375px){
  body.page-id-18.left-content #main .fv{
    min-height: 68svh;   /* ← 64 → 68 に少しだけUP */
    min-height: 68vh;    /* 保険 */
    padding: 10px 0;     /* 余白は最小限維持 */
  }

  body.page-id-18 .post-content .fv-inner{
    padding: 16px 14px !important; /* 少しだけ余裕を戻す */
  }

  /* 見出し・本文が大きくて押し出される場合の保険 */
  body.page-id-18 .post-content .fv-title{
    font-size: 26px !important;
    line-height: 1.25 !important;
  }
  body.page-id-18 .post-content .fv-text{
    font-size: 14px !important;
    line-height: 1.8 !important;
  }
}

/* メイン870px + サイド290px = 全体 */
@media (min-width: 768px){
  body.page-id-18.left-content #main{
    width: 870px !important;
  }
  body.page-id-18.left-content #side{
    width: 290px !important;
  }
}
@media (min-width: 1201px){
  body.page-id-18 .fv{
    width: 100vw !important;
  }
}
/* =========================
  768〜1200px：2カラム維持 + FV右切れ対策
========================= */
@media (min-width: 768px) and (max-width: 1200px){

  /* 2カラムを強制（テーマの float解除を打ち消す） */
  body.page-id-18.left-content #main{
    float: left !important;
    width: calc(100% - 290px) !important;
  }

  body.page-id-18.left-content #side{
    float: right !important;
    width: 290px !important;
    margin-left: 0 !important;
    clear: none !important;     /* “下に落とす指定”を無効化 */
  }

  /* もし .main-inner の右余白がレイアウトを壊す場合に備えて解除 */
  body.page-id-18.left-content .main-inner{
    margin-right: 0 !important;
  }

  /* FV：右が切れるのを防ぐ（この幅帯は無理に伸ばさない） */
  body.page-id-18.left-content #main .fv{
    width: 100% !important;
    margin-right: 0 !important;
  }

  /* 親の overflow で切られるのを防ぐ（テーマ側に hidden がある場合） */
  body.page-id-18.left-content #main,
  body.page-id-18.left-content .main-inner,
  body.page-id-18 .post-content{
    overflow: visible !important;
  }
  /* 回り込み解除 */
  body.page-id-18 .wrap.clearfix::after{
    content:"";
    display:block;
    clear:both;
  }
}
/* 768〜1200px：FVの右が空くのを解消（サイド幅ぶんだけ右に広げる） */
@media (min-width: 768px) and (max-width: 1200px){
  body.page-id-18.left-content #main .fv{
    width: calc(100% + 290px) !important; /* サイド幅ぶん広げる */
    margin-right: -290px !important;     /* 右へはみ出させて埋める */
    max-width: none !important;          /* 1200px制限があると削れるので解除 */
    position: relative;
    z-index: 2;
  }

  /* 念のため：サイドがFVに被らないように下のレイヤーへ */
  body.page-id-18.left-content #side{
    position: relative;
    z-index: 1;
  }
  body.page-id-18.left-content #main{
    padding-right: 24px;
    box-sizing: border-box;
  }
}

/* 768〜1200px：本文は余白あり、FVだけ右の余白を打ち消して横いっぱいにする */
@media (min-width: 768px) and (max-width: 1200px){
  /* ① メインとサイドの“間”の余白 */
  body.page-id-18.left-content #main{
    padding-right: 24px;
    box-sizing: border-box;
  }

  /* ② FVはその分も含めて右に伸ばす（赤枠の白余白を消す） */
  body.page-id-18.left-content #main .fv{
    width: calc(100% + 290px + 44px) !important;  /* サイド幅290 + 余白24 */
    margin-right: calc(-290px - 24px) !important; /* 同じ分だけ右へはみ出し */
  }
}
.page-id-18 .post-content ul {
    padding: 0;
}
/* 991px以上：article.page の白背景・枠線を消す */
@media (min-width: 992px){
  article.page{
    background: transparent !important;
    border: none !important;
    margin-bottom: 0 !important; /* 余白も不要なら */
  }
}
 /* 検索ボックスの余白をなくす */
.wp-block-search__button {
    margin-left: 0px !important;
    word-break: normal;
}
/* 検索ボックス：クリック時の黒い枠を調整（見栄え改善） */
.wp-block-search__input:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* キーボード操作の時だけ、控えめなフォーカスを残す（推奨） */
.wp-block-search__input:focus-visible {
  outline: 2px solid rgba(46, 49, 146, 0.35);
  outline-offset: 2px;
  box-shadow: none !important;
}
/* ===== トップ：タブUI ===== */
.page-id-18 .top-tabs{
  margin-top: 24px;
}

.page-id-18 .top-tabs-nav{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  overflow: hidden;
  background: #9b9b9b; /* 非アクティブ背景 */
}

.page-id-18 .top-tab-btn{
  appearance: none;
  border: 0;
  padding: 12px 10px;
  cursor: pointer;
  font-weight: 600;
  color: #cccccc;
  background: #8f8f8f;
  border-right: 1px solid #eaeaea;
}
.page-id-18 .top-tab-btn:last-child{ border-right: 0; }

.page-id-18 .top-tab-btn.is-active{
  background: #2E3192;
  color: #ffffff;
}

/* パネル切り替え */
.page-id-18 .top-tab-panel{ display:none; }
.page-id-18 .top-tab-panel.is-active{ display:block; }

/* タブ下の余白 */
.page-id-18 .top-tabs-panels{
  margin-top: 18px;
}

/* サムネ無し保険 */
.page-id-18 .top-post-thumb--dummy{
  aspect-ratio: 16/9;
  background: #eee;
}
/* カードの見出し */
/* カードの見出し */
h3.top-post-title {
    font-size: 18px !important;
    margin: 1em 0 1em;
    border: none;
}
/* スマホ：2列にして押しやすく */
@media (max-width: 767px){
  .page-id-18 .top-tabs-nav{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px){
  .page-id-18 article.page{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
}
@media (max-width: 767px){
  .page-id-18 .top-tab-btn:nth-child(3),
  .page-id-18 .top-tab-btn:nth-child(4){
    border-top: 1px solid #eaeaea;
    padding-top: 14px;   /* 上段との間隔 */
  }
  .page-id-18 .top-tab-btn:nth-child(2),
  .page-id-18 .top-tab-btn:nth-child(4){
    border-right: none;
  }
}
/* 検索ラベルを非表示 */
.wp-block-search__label{
  display: none;
}
/* ボタン内テキストを消す */
.wp-block-search__button{
  font-size: 0;          /* ボタン内の「検索」文字を消す */
  position: relative;
  line-height: 1;
}
/* 虫眼鏡アイコンを表示 */
.wp-block-search__button::before{
  content: "\f002"; /* 虫眼鏡 */
  font-family: "Font Awesome 6 Free","Font Awesome 5 Free","Font Awesome 7 Free",FontAwesome;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  display: inline-block;
}
/* 検索全体 */
.wp-block-search__inside-wrapper{
  display: flex;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  border-radius: 6px;
  overflow: hidden;
}

/* 入力欄 */
.wp-block-search__input{
  border: none;
  padding: 14px 16px;
  font-size: 15px;
}

/* ボタン */
.wp-block-search__button{
  background: #2E3192;
  border: none;
  width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* =========================
  トップ：記事カード 影＋ホバーで浮く
========================= */
.top-post-card,
.wp-block-post {
  border: 1px solid #eaeaea;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);  /* 基本の影 */
  transition: transform .18s ease, box-shadow .18s ease;
}

/* hover（PCのみ想定） */
@media (hover: hover) and (pointer: fine) {
  .top-post-card:hover,
  .wp-block-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
  }
}

/* カード内リンクをブロック全体クリックに見せる（既にあれば不要） */
.top-post-card .top-post-link,
.wp-block-post a {
  display: block;
}
/* =========================
  トップ：記事カードのタイトル hover 下線を消す
========================= */
.home.page-id-18 .top-post-title a,
.home.page-id-18 .top-post-link,
.home.page-id-18 .wp-block-post-title a {
  text-decoration: none;
}

.home.page-id-18 .top-post-title a:hover,
.home.page-id-18 .top-post-link:hover,
.home.page-id-18 .wp-block-post-title a:hover {
  text-decoration: none;
}
/* =========================
  ヘッダー：ロゴ横にグローバルナビを配置（CSSのみ）
========================= */

/* ヘッダーを基準にする */
#header .wrap{
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ロゴは左固定 */
#logo{
  margin: 0;
  flex: 0 0 auto;
}

/* ▼下に出ている #gnav をヘッダー行に“持ち上げる” */
#gnav{
  margin: 0;
}
#gnav .wrap{
  max-width: none;         /* テーマのwrap幅制限がある場合の保険 */
}

/* gnav自体をヘッダーの右側に配置 */
#gnav{
  position: relative;
  z-index: 10;
}

/* ul を横並びに */
#gnav-ul{
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* リンクの見た目（任意） */
#gnav-ul a{
  text-decoration: none;
  padding: 6px 0;
  display: inline-block;
}
/* ===== PC時：#gnav をヘッダーの同じ行に重ねる ===== */
@media (min-width: 992px){
  /* ナビ全体をヘッダー行に重ねる */
  #gnav{
    position: absolute;
    top: 8%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
  }

  /* ロゴぶん左を空けて、ナビ開始位置を右にずらす */
  #gnav .wrap{
    display: flex;
    justify-content: flex-start;
  }

  /* ロゴ幅に合わせて微調整（必要なら数値を変える） */
  #gnav-container{
    margin-left: 340px; /* ←ここが調整ポイント：ロゴ幅+余白 */
  }
}

/* ===== 画面が狭い時は従来通り下に落としてOK ===== */
@media (max-width: 991px){
  #gnav{
    position: static;
    transform: none;
  }
  #gnav-container{
    margin-left: 0;
  }
  #gnav-ul{
    flex-wrap: wrap;
    gap: 10px 14px;
  }
}
@media (min-width: 992px){
  #gnav{
    background: transparent !important;
    border: none !important;
  }
}
/* グローバルナビ：ホバー時のボーダーを下に */
@media (min-width: 992px){
  #gnav ul li a{
    border-top: none !important;        /* 上を消す */
    border-bottom: 2px solid transparent; /* 通常時は透明 */
  }
}
#gnav ul li a{
  position: relative;
}

#gnav ul li a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #2E3192;
  transition: width .3s ease;
}

#gnav ul li a:hover::after,
#gnav ul li.current-menu-item a::after{
  width: 100%;
}

@media (min-width: 992px){
  /* ナビ全体はそのまま */
  #gnav .wrap{
    display: flex;
    justify-content: flex-end; /* 右寄せ */
  }

  /* ULの余計な中央寄せを解除 */
  #gnav-container{
    margin-left: auto;
  }

  #gnav-ul{
    display: flex;
    justify-content: flex-end;
  }
}
@media (min-width: 992px){
  /* 一番右のメニューだけ右余白を消す */
  #gnav-ul > li:last-child{
    margin-right: 0 !important;
    padding-right: 0 !important;
  }
  #gnav-ul{
    display: flex;
    justify-content: flex-end;
    gap: 0; /* ここを 8px などにすると“間”だけ作れる */
  }
  #gnav-ul > li{
    margin: 0 !important;
  }
#gnav ul li a {
    padding-left: 7px;
    padding-right: 7px;
}
	#gnav-ul > li.menu-item-70 > a{
  font-weight: 600;
}
}
/* グローバルナビの文字色 */
#gnav ul li a{
  color: #2E3192;
}
#gnav ul li a:hover{
  color: #2E3192;
}
@media (max-width: 1001px){

  /* ヘッダーの中を横並びにして、右端へ */
  #header .wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* ロゴは左 */
  #logo{
    margin: 0;
  }

  /* ハンバーガーは右 */
  #header-menu-tog{
    margin-left: auto;
  }
}

 /* スマホでロゴを小さく */
@media (max-width: 410px){
  #header #logo img{
    max-width: 150px !important;
    height: auto !important;
  }
}
/* 1001px以下：ハンバーガー表示／グロナビ非表示*/
@media screen and (max-width: 1001px){
  /* ハンバーガーメニューを表示 */
  #header-menu-tog{
    display: block !important;
    float: none;
    font-size: 24px;
    position: relative;
    top: -12px;
    right: -30px;
    }
   #header-menu-tog a{
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
  }
}
  /* =========================
  FV（ファーストビュー）
========================= */
.page-id-18 .fv{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 55vh !important;
  min-height: 55vh !important;
  background-image: url(https://gate.tzcarport.com/wp-content/uploads/2026/01/parking.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.page-id-18 .fv::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.40);
  z-index: 0;
}
.page-id-18 .fv-inner{
  position: relative;
  z-index: 1; 
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px;
  color: #fff;
  text-align: center;
}
.page-id-18 .fv-text{
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}
/* 1行目と2行目の間だけ少し */
.page-id-18 .fv-text + .fv-text{
  margin-top: 10px;
  opacity: .95;
}
/* テキスト群の下だけ余白（CTA前） */
.page-id-18 .fv-text:last-of-type{
  margin-bottom: 26px;
}
.page-id-18 .fv-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#e14b4b;
  color:#fff;
  padding:14px 32px;
  border-radius:8px; 
  text-decoration:none;
  font-weight:700;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.page-id-18 .fv-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,.30);
  opacity: .98;
}
.page-id-18.left-content .main-inner{
  margin-right: 0;
}
/* スマホ */
@media (max-width: 768px){
  .page-id-18 .fv{ min-height: 43vh !important; }
  .page-id-18 .post-content{ padding: 0 !important; }
  .page-id-18 .fv-inner{ padding: 20px; }
  .page-id-18 .fv-title{ font-size: 1.6rem; }
  body.page-id-18.left-content #main .fv {
        width: 100% !important;
        margin-right: 0 !important;
        height: auto;
        min-height: 60vh;
    }
  }
/* CTA（新着記事を見る） */
.header-image__btn a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f44952;
  color: #fff;
  padding: 14px 34px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
  margin: 1.6em 0 0;
  /* “押したくなる”控えめ立体感 */
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
  transform: translateY(0);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  text-decoration: none;
}
.header-image__btn a:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,.32);
  opacity: .98;
  text-decoration: none;
}

/* クリック時の変な枠を出さない（必要なら） */
.header-image__btn a:focus{
  outline: none;
}
/*  サイト名*/
.page-id-18 h1.fv-sitename {
    font-size: 18px;
    margin: 1em 0;
    clear: both;
    letter-spacing: .08em;
    opacity: .95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
    line-height: 1.6;
    font-weight: normal;
}
/* メインコピー*/
body.page-id-18 #main .fv-title{
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
  font-size: clamp(28px, 3.2vw, 44px);
  text-shadow: 0 3px 14px rgba(0,0,0,.45);
}
/* サブコピー*/
.page-id-18 .fv-text {
    margin-top: 20px;
    margin-bottom: 0;
    line-height: 1.9;
    font-size: 16px;
    color: rgba(255, 255, 255, .95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
/* スマホのみメインコピー改行 */
.br-sp {
    display: none;
}
.page-id-18 .post-content h2 {
    padding: 0 0 12px;
    clear: both;
    border-bottom: none;
}
@media (max-width: 600px) {
    .br-sp {
        display: block;
    }
}
/* スマホのみサイト名の上の余白 */
@media (max-width: 600px) {
p.fv-sitename {
    margin-top: 20px !important;
}
}
/* 投稿ページのアイキャッチをファーストビュー全幅にする */
.single .post-thumbnail {
    float: none;
    margin: 0;
    width: 100%;
}

.single .post-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}
/* 投稿ページのアイキャッチは全幅前提で sizes を 100vw にする */
add_filter('wp_calculate_image_sizes', function ($sizes, $size, $image_src, $image_meta, $attachment_id) {
    if (is_single()) {
        return '100vw';
    }
    return $sizes;
}, 10, 5);

/* パンくずリストの装飾 */
/* パンくず全体 */
.breadcrumb {
  font-size: 14px;
}

/* liをチップ化 */
.breadcrumb li {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  margin-right: 8px;
  line-height: 1.4;
}

/* HTML内の「 / 」を無効化 */
.breadcrumb li > *:last-child {
  margin-right: 0;
}
.breadcrumb li::after {
  content: none !important;
}

/* 「 / 」のテキストノード対策 */
.breadcrumb li {
  font-size: 0;
}
.breadcrumb li * {
  font-size: 14px;
}

/* 現在地（最後）だけ色を変える */
.breadcrumb li:last-child {
  color: #333;
}

/* アイコン */
.breadcrumb i{
  position: relative;
  top: -1px;
  line-height: 1;
  vertical-align: middle;
}

/* リンク */
.breadcrumb a {
  color: #1f4fd8;
  text-decoration: none;
}

/* ＊投稿記事最下部のSNSリンク非表示*/
.post-share-title {
    display: none;
}
ul.post-sns {
    display: none !important;
}
.cat .fa-folder {
    position: relative !important;
    margin-right: 15px !important;
    top: -12px;
}
/* カテゴリページの見出し（空港駐車の基礎知識など） */
/* カテゴリ見出し：背景を横いっぱいに */
.category .archive-header,
.archive .archive-header {
  margin: 12px 0 24px;
  padding: 14px 0;
  background: #f5f7ff;   /* 薄い青 */
}

/* 見出し本体 */
.category .archive-title,
.archive .archive-title {
  display: inline-block;
  padding: 10px 16px;
  border-left: 6px solid #2E3192;
  border-radius: 6px;
  font-size: 22px;
  line-height: 1.35;
  margin: 0;
}
.category .archive-title::before,
.archive .archive-title::before {
  content: "CATEGORY";
  font-size: 12px;
  font-weight: 700;
  color: #2E3192;
  margin-right: 10px;
  vertical-align: middle;
}
@media (min-width: 992px) {
  .category.left-content #side,
  .archive.left-content #side {
    position: relative;
    top: 11px;
  }
}
.category .pagination,
.archive .pagination {
    margin: 0 !important;
    padding: 0 !important;
}
.fa-angle-up:before {
    top: -6px !important;
    right: 0px !important;
}
@media screen and (max-width: 991px) {
    .pagetop .fa-angle-up:before {
        top: -10px !important;
        right: 2.5px !important;
    }
}

/*ブログページ　テーブルタグ*/
/* テーブルタグの装飾*/
.post-content table {
    margin-bottom: 24px !important;
}
.post-content table thead th {
 text-align: center;
 background: #2E3192 !important;
}

/* ブログページ　リストタグの装飾*/
.post-content .wp-block-list li::marker {
    color: #2E3192 !important;
    font-size: 1.5em;
}
/* ブログページ参照元装飾*/
p.caption {
    font-size: small;
}
.reference {
  margin-top:40px;
}
/* 投稿ページの画像の余白*/
.post-content figure.wp-block-image {
   margin-bottom: 20px !important;
}
.post-footer {
    padding: 0px 64px 0px !important;
}
/* サイドウィジットのバナーの画質*/
.side-widget img {
  image-rendering: auto;
  backface-visibility: hidden;
}
/* 投稿者ページの編集者情報*/
.post-author-name {
    font-weight: bold;
    margin-bottom: 5px;
}
/* 目次の装飾*/
#toc_container {
    background: #f7f9fc;
    border: 1px solid #e1e5ee;
}