/**
 * car-style.css — Y-Traders 中古車スタイル
 * Center Light LLC
 * グリーン×白 クリーンモダン / y-traders.info デザイン準拠
 */

/* ─── CSS 変数 ─────────────────────────────── */
:root {
  --yt-green:     #2d7a4f;
  --yt-green-dk:  #1f5c3a;
  --yt-green-lt:  #e8f5ee;
  --yt-green-mid: #4a9e6e;
  --yt-accent:    #f0a500;
  --yt-dark:      #1a1a2e;
  --yt-gray-dk:   #4a5568;
  --yt-gray:      #f7f8fa;
  --yt-border:    #e2e8f0;
  --yt-white:     #ffffff;
  --yt-red:       #e53e3e;
  --yt-shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --yt-shadow:    0 4px 16px rgba(0,0,0,.10);
  --yt-shadow-lg: 0 8px 32px rgba(0,0,0,.14);
  --yt-r:         10px;
  --yt-r-sm:      6px;
  --yt-font-en:   'Segoe UI','Helvetica Neue',sans-serif;

  /* ── page-wide-corporate-v2.php 用変数 ── */
  --v2-green:      #2d7a4f;
  --v2-green-dk:   #1e5c3a;
  --v2-green-mid:  #3a9460;
  --v2-green-lt:   #e8f5ee;
  --v2-navy:       #1a2744;
  --v2-gold:       #c9a84c;
  --v2-white:      #ffffff;
  --v2-gray:       #f5f7fa;
  --v2-text:       #2d3748;
  --v2-text-sub:   #718096;
  --v2-shadow:     0 2px 16px rgba(0,0,0,.07);
  --v2-radius:     8px;
  --v2-radius-lg:  12px;
}

/* ─── バッジ ─────────────────────────────────── */
.car-badge {
  display: inline-block;
  font-size: .68rem; font-weight: 700;
  padding: .2em .65em; border-radius: 20px;
  background: var(--yt-gray-dk); color: var(--yt-white);
  margin: 0 .25em .3em 0; vertical-align: middle;
  letter-spacing: .04em; line-height: 1.6;
}
.car-badge--tax    { background: var(--yt-green); }
.car-badge--maker  { background: var(--yt-green-dk); }
.car-badge--new    { background: var(--yt-accent); color: var(--yt-dark); }
.car-badge--repair { background: var(--yt-red); }
.car-badge--sold   { background: #a0aec0; }

/* ─── 詳細ページ タイトル ────────────────────── */
.car-single { margin-bottom: 3rem; }
.car-single__badges { margin-bottom: .6rem; }
.car-single__title {
  font-size: 1.55rem !important; font-weight: 800 !important;
  margin-top: .3rem !important; line-height: 1.45 !important;
  color: var(--yt-dark) !important; letter-spacing: -.01em;
}
.car-single__subtitle { color: var(--yt-gray-dk); font-size: .9rem; margin: -.2rem 0 1rem; }

/* ─── ギャラリー（フル幅）────────────────────── */
.car-gallery { margin-bottom: 0; }
.car-gallery__main { border-radius: var(--yt-r) var(--yt-r) 0 0; overflow: hidden; background: #111; position: relative; }
.car-gallery__main-link { display: block; }
.car-gallery__main img { width: 100%; aspect-ratio: 16/9; object-fit: contain; display: block; max-height: 520px; transition: opacity .25s; }
.car-gallery__main-link:hover img { opacity: .92; }
.car-gallery__noimage { background: var(--yt-gray); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; color: #aaa; font-size: .9rem; border-radius: var(--yt-r) var(--yt-r) 0 0; }
.car-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(10, 1fr); /* PC: 10枚横並び */
  gap: 3px; margin-top: 3px;
  background: #111; padding: 3px;
  border-radius: 0 0 var(--yt-r-sm) var(--yt-r-sm);
}
@media (max-width: 860px) {
  .car-gallery__thumbs { grid-template-columns: repeat(5, 1fr); } /* タブレット: 5列×2行 */
}
@media (max-width: 480px) {
  .car-gallery__thumbs { grid-template-columns: repeat(4, 1fr); } /* スマホ小: 4列×3行 */
  .car-gallery__main img { max-height: 260px; } /* スマホではメイン画像の高さも調整 */
}
.car-gallery__thumb {
  border: 2px solid transparent;
  border-radius: var(--yt-r-sm); overflow: hidden;
  cursor: pointer; padding: 0; background: none;
  transition: border-color .15s, transform .15s;
  aspect-ratio: 16/9; /* 親がgridなのでwidthは自動 */
}
.car-gallery__thumb:hover { border-color: var(--yt-green-mid); transform: scale(1.04); }
.car-gallery__thumb.is-active { border-color: var(--yt-green); }
.car-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ─── 価格ボックス（ギャラリー直下・フル幅）─── */
.car-price-box {
  background: var(--yt-white);
  border: 2px solid var(--yt-green); border-top: 4px solid var(--yt-green);
  border-radius: 0 0 var(--yt-r) var(--yt-r);
  padding: 1.4rem; box-shadow: var(--yt-shadow); margin-bottom: 2.5rem;
}
.car-price-box__inner {
  display: grid; grid-template-columns: minmax(180px,auto) 1fr 1fr;
  gap: 1.5rem; align-items: start;
  padding-bottom: 1.2rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--yt-border);
}
@media (max-width: 860px) { .car-price-box__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .car-price-box__inner { grid-template-columns: 1fr; } }

.car-price-box__total dt,
.car-price-box__body  dt { font-size: .7rem; color: var(--yt-gray-dk); margin-bottom: .1rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.car-price-box__total { margin-bottom: .75rem; }
.car-price-box__num { font-size: 1.75rem; font-weight: 900; color: var(--yt-dark); line-height: 1.1; font-family: var(--yt-font-en); }
.car-price-box__num--total { font-size: 2.4rem; color: var(--yt-red); }
.car-price-box__num small { font-size: .9rem; font-weight: 600; color: var(--yt-gray-dk); }
.car-price-box__misc { font-size: .72rem; color: var(--yt-gray-dk); display: block; margin-top: .1rem; }
.car-price-box__note { font-size: .7rem; color: #a0aec0; display: block; margin-top: .15rem; }
.car-price-box__loan-title { font-size: .78rem; font-weight: 700; color: var(--yt-green-dk); margin-bottom: .5rem; }
.car-price-box__loan-note { font-size: .67rem; color: #a0aec0; margin-top: .35rem; }
.car-tbl--summary { font-size: .8rem; }
.car-tbl--summary th { width: 5em; color: var(--yt-green-dk); background: var(--yt-green-lt); }
.car-price-box__cta { display: flex; flex-direction: row; gap: .75rem; flex-wrap: wrap; }
.car-price-box__cta .car-btn { flex: 1; min-width: 160px; }

/* ─── ボタン ──────────────────────────────────── */
.car-btn {
  display: flex; align-items: center; gap: .7rem; padding: .85rem 1.1rem;
  border-radius: var(--yt-r-sm); font-weight: 700;
  text-decoration: none !important;
  transition: all .2s cubic-bezier(.4,0,.2,1); cursor: pointer;
}
.car-btn:hover { opacity: .88; transform: translateY(-2px); box-shadow: var(--yt-shadow); }
.car-btn__icon { font-size: 1.3rem; flex-shrink: 0; }
.car-btn__body { display: flex; flex-direction: column; line-height: 1.35; }
.car-btn__label { font-size: .67rem; font-weight: 500; opacity: .82; letter-spacing: .03em; }
.car-btn__num   { font-size: .95rem; font-weight: 800; }
.car-btn small  { font-size: .66rem; font-weight: 400; opacity: .75; }
.car-btn--tel   { background: linear-gradient(135deg, var(--yt-green) 0%, var(--yt-green-mid) 100%); color: var(--yt-white) !important; border: none; }
.car-btn--mail  { background: var(--yt-dark); color: var(--yt-white) !important; border: none; }
.car-btn--diary { background: var(--yt-white); color: var(--yt-green-dk) !important; border: 2px solid var(--yt-green); }
.car-btn--diary:hover { background: var(--yt-green-lt); }

/* ─── テーブル ─────────────────────────────────── */
.car-tbl { width: 100%; border-collapse: collapse; font-size: .85rem; }
.car-tbl th, .car-tbl td { padding: .5rem .75rem; border: 1px solid var(--yt-border); vertical-align: top; }
.car-tbl th { background: var(--yt-green-lt); font-weight: 700; white-space: nowrap; width: 110px; color: var(--yt-green-dk); font-size: .82rem; }

/* ─── セクション見出し ─────────────────────────── */
.car-section { margin-bottom: 2.5rem; }
.car-section__title {
  font-size: .88rem !important; font-weight: 800 !important;
  background: var(--yt-green) !important; color: var(--yt-white) !important;
  padding: .55rem 1rem !important; margin: 0 !important; border: none !important;
  border-radius: var(--yt-r) var(--yt-r) 0 0 !important;
  letter-spacing: .06em; text-transform: uppercase;
}
.car-section__title::before, .car-section__title::after { display: none !important; }
.car-tbl--detail { border-radius: 0 0 var(--yt-r-sm) var(--yt-r-sm); overflow: hidden; }

/* ─── チェックリスト ───────────────────────────── */
.car-checklist { display: flex; flex-wrap: wrap; gap: .35rem; padding: .85rem; border: 1px solid var(--yt-border); border-top: none; border-radius: 0 0 var(--yt-r-sm) var(--yt-r-sm); background: var(--yt-white); }
.car-check { display: inline-flex; align-items: center; gap: .25em; font-size: .78rem; padding: .25em .65em; border-radius: 20px; border: 1.5px solid var(--yt-border); white-space: nowrap; transition: all .15s; }
.car-check--on  { background: var(--yt-green-lt); border-color: var(--yt-green); color: var(--yt-green-dk); font-weight: 700; }
.car-check--off { background: var(--yt-gray); color: #c0c8d4; border-color: #e8ecf0; }
.car-check__icon { color: var(--yt-green); font-size: .85em; font-weight: 900; }

/* ─── CTA バナー ──────────────────────────────── */
.car-cta {
  background: linear-gradient(135deg, var(--yt-green-dk) 0%, var(--yt-green) 100%);
  color: var(--yt-white); border-radius: var(--yt-r);
  padding: 2rem 1.5rem; margin: 2.5rem 0; text-align: center;
  box-shadow: var(--yt-shadow-lg); position: relative; overflow: hidden;
}
.car-cta__lead { font-size: 1.2rem; font-weight: 800; margin-bottom: .35rem; letter-spacing: .02em; }
.car-cta__sub  { font-size: .82rem; opacity: .82; margin-bottom: 1.4rem; }
.car-cta__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.car-cta .car-btn { min-width: 195px; text-align: left; }
.car-cta .car-btn--tel   { background: var(--yt-white); color: var(--yt-green-dk) !important; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.car-cta .car-btn--mail  { background: rgba(255,255,255,.15); color: var(--yt-white) !important; border: 2px solid rgba(255,255,255,.5); }
.car-cta .car-btn--diary { background: var(--yt-accent); color: var(--yt-dark) !important; border: none; }

/* ─── 一覧カード ──────────────────────────────── */
.car-archive-card { border-radius: var(--yt-r); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.car-archive-card:hover { box-shadow: var(--yt-shadow-lg); transform: translateY(-3px); }
.car-archive-card__img { position: relative; overflow: hidden; }
.car-archive-card__img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform .4s cubic-bezier(.4,0,.2,1); }
.car-archive-card:hover .car-archive-card__img img { transform: scale(1.05); }
.car-archive-card__badges { position: absolute; bottom: .5rem; left: .5rem; display: flex; flex-wrap: wrap; gap: .25rem; }
.car-archive-card__body { padding: .9rem; }
.car-archive-card__price { margin: .5rem 0; }
.car-archive-card__total { font-size: .88rem; line-height: 1.3; }
.car-archive-card__total strong { font-size: 1.5rem; font-weight: 900; color: var(--yt-red); font-family: var(--yt-font-en); }
.car-archive-card__total small  { font-size: .78rem; color: var(--yt-gray-dk); }
.car-archive-card__total span   { font-size: .7rem; color: #a0aec0; display: block; }
.car-archive-card__body-price   { font-size: .78rem; color: var(--yt-gray-dk); }
.car-archive-card__loan         { font-size: .78rem; color: var(--yt-green); font-weight: 700; }
.car-archive-card__specs { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-top: .5rem; font-size: .74rem; }
.car-archive-card__specs div { display: flex; gap: .25em; align-items: baseline; }
.car-archive-card__specs dt { color: #a0aec0; white-space: nowrap; }
.car-archive-card__specs dd { font-weight: 700; color: var(--yt-dark); }
.car-archive-card__more { display: inline-flex; align-items: center; gap: .3em; margin-top: .65rem; background: var(--yt-green); color: var(--yt-white); font-size: .76rem; font-weight: 700; padding: .32em .9em; border-radius: 20px; letter-spacing: .04em; transition: background .15s; }
.car-archive-card:hover .car-archive-card__more { background: var(--yt-green-dk); }

/* ─── トップページセクション ─────────────────── */
.front-car-section { padding: 4.5rem 0; }
.front-car-section--list        { background: var(--yt-white); }
.front-car-section--recommend   { background: var(--yt-green-dk); }
.front-car-section--achievement { background: var(--yt-gray); }
.front-car-section__inner { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }

.front-section-head { text-align: center; margin-bottom: 2.5rem; }
.front-section-head__en { font-size: .75rem; font-weight: 800; letter-spacing: .3em; color: var(--yt-green); text-transform: uppercase; margin-bottom: .3rem; font-family: var(--yt-font-en); }
.front-car-section--recommend .front-section-head__en { color: rgba(255,255,255,.6); }
.front-section-head__ja { font-size: 2rem; font-weight: 900; color: var(--yt-dark); margin: 0 0 .65rem; letter-spacing: -.01em; position: relative; display: inline-block; }
.front-section-head__ja::after { content: ''; display: block; width: 40px; height: 4px; background: var(--yt-green); border-radius: 2px; margin: .5rem auto 0; }
.front-car-section--recommend .front-section-head__ja { color: var(--yt-white); }
.front-car-section--recommend .front-section-head__ja::after { background: var(--yt-accent); }
.front-section-head__desc { font-size: .87rem; color: var(--yt-gray-dk); max-width: 520px; margin: 0 auto; line-height: 1.7; }
.front-car-section--recommend .front-section-head__desc { color: rgba(255,255,255,.72); }

.front-sep { height: 5px; }
.front-sep--dark  { background: linear-gradient(90deg, var(--yt-green-dk), var(--yt-green), var(--yt-green-dk)); }
.front-sep--light { background: linear-gradient(90deg, var(--yt-border), var(--yt-green-lt), var(--yt-border)); }

.car-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
@media (max-width: 900px) { .car-cards { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .car-cards { grid-template-columns: 1fr; } }

.car-card { background: var(--yt-white); border-radius: var(--yt-r); overflow: hidden; box-shadow: var(--yt-shadow-sm); border: 1px solid var(--yt-border); transition: box-shadow .22s, transform .22s; }
.car-card:hover { box-shadow: var(--yt-shadow-lg); transform: translateY(-4px); }
.car-card--sold { opacity: .75; }
.car-card__link { display: block; text-decoration: none !important; color: inherit; }
.car-card__img { position: relative; overflow: hidden; }
.car-card__img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform .4s cubic-bezier(.4,0,.2,1); }
.car-card:hover .car-card__img img { transform: scale(1.06); }
.car-card__badges { position: absolute; bottom: .45rem; left: .45rem; display: flex; flex-wrap: wrap; gap: .2rem; }
.car-card__body { padding: .9rem; }
.car-card__title { font-size: .9rem; font-weight: 700; margin-bottom: .4rem; line-height: 1.45; color: var(--yt-dark); }
.car-card__price { font-size: .85rem; margin-bottom: .4rem; }
.car-card__price strong { font-size: 1.4rem; font-weight: 900; color: var(--yt-red); font-family: var(--yt-font-en); }
.car-card__price small  { font-size: .77rem; color: var(--yt-gray-dk); }
.car-card__specs { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; font-size: .72rem; margin-bottom: .55rem; }
.car-card__specs div { display: flex; gap: .2em; }
.car-card__specs dt { color: #a0aec0; white-space: nowrap; }
.car-card__specs dd { font-weight: 700; color: var(--yt-dark); }
.car-card__more { display: inline-flex; align-items: center; gap: .3em; background: var(--yt-green); color: var(--yt-white); font-size: .74rem; font-weight: 700; padding: .28em .85em; border-radius: 20px; transition: background .15s; }
.car-card:hover .car-card__more { background: var(--yt-green-dk); }

.front-car-section__more { text-align: center; margin-top: 2.5rem; }
.front-more-btn { display: inline-flex; align-items: center; gap: .5em; padding: .8rem 2.5rem; background: var(--yt-green); color: var(--yt-white) !important; font-weight: 800; font-size: .88rem; border-radius: 30px; text-decoration: none !important; transition: all .2s; letter-spacing: .06em; box-shadow: 0 4px 14px rgba(45,122,79,.35); }
.front-more-btn:hover { background: var(--yt-green-dk); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45,122,79,.4); }
.front-more-btn--outline { background: transparent; color: var(--yt-green) !important; border: 2px solid var(--yt-green); box-shadow: none; }
.front-more-btn--outline:hover { background: var(--yt-green); color: var(--yt-white) !important; }

.front-cta-section { background: linear-gradient(135deg, var(--yt-green-dk) 0%, var(--yt-green) 100%); padding: 3.5rem 1.5rem; text-align: center; }
.front-cta-section__inner { max-width: 860px; margin: 0 auto; }
.front-cta-section__lead { font-size: 1.15rem; font-weight: 800; color: var(--yt-white); margin-bottom: 1.5rem; letter-spacing: .02em; }
.front-cta-section__btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.front-cta-section .car-btn { min-width: 210px; }
.front-cta-section .car-btn--tel   { background: var(--yt-white); color: var(--yt-green-dk) !important; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.front-cta-section .car-btn--mail  { background: rgba(255,255,255,.15); color: var(--yt-white) !important; border: 2px solid rgba(255,255,255,.5); }
.front-cta-section .car-btn--diary { background: var(--yt-accent); color: var(--yt-dark) !important; border: none; }

/* ─── レスポンシブ ────────────────────────────── */
@media (max-width: 640px) {
  .car-single__title { font-size: 1.25rem !important; }
  .car-price-box__num--total { font-size: 1.9rem; }
  .car-price-box__cta { flex-direction: column; }
  .car-price-box__cta .car-btn { min-width: unset; width: 100%; }
  .car-cta { padding: 1.5rem 1rem; }
  .car-cta__actions { flex-direction: column !important; align-items: stretch !important; gap: .5rem !important; }
  .car-cta .car-btn { min-width: unset !important; width: 100% !important; flex: none !important; }
  .front-cta-section__btns { flex-direction: column; align-items: center; }
  .front-car-section { padding: 2.5rem 0; }
  .front-section-head__ja { font-size: 1.5rem; }

  /* ── car-result-box内CTAボタン 縦積み ── */
  .car-result-box__cta {
    flex-direction: column !important;
    gap: .5rem !important;
  }
  .car-result-box__cta .car-btn {
    min-width: unset !important;
    width: 100% !important;
    flex: none !important;
  }

  /* ── スペックサマリーテーブル 縦積み ── */
  .car-tbl--summary,
  .car-tbl--summary tbody,
  .car-tbl--summary tr {
    display: block !important;
    width: 100% !important;
  }
  .car-tbl--summary tr {
    margin-bottom: 4px !important;
    border: 1px solid var(--yt-border) !important;
    border-radius: var(--yt-r-sm) !important;
    overflow: hidden !important;
  }
  .car-tbl--summary th {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    white-space: normal !important;
  }
  .car-tbl--summary td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    word-break: break-word !important;
  }

  /* ── 詳細テーブル 縦積み ── */
  .car-tbl--detail,
  .car-tbl--detail tbody,
  .car-tbl--detail tr {
    display: block !important;
    width: 100% !important;
  }
  .car-tbl--detail tr {
    margin-bottom: 4px !important;
    border: 1px solid var(--yt-border) !important;
    border-radius: var(--yt-r-sm) !important;
    overflow: hidden !important;
  }
  .car-tbl--detail th {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }
  .car-tbl--detail td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
  }
}

/* ═══════════════════════════════════════
   車両スライダー
   ═══════════════════════════════════════ */

/* ラッパー：ボタンを内包するため relative */
.car-slider-wrap {
  position: relative;
  overflow: hidden;
  padding: 0 0 2.5rem; /* ドット分の余白 */
}

/* スライダー本体：flex で横並び、overflow:hidden でクリップ */
.car-slider {
  display: flex;
  gap: 1.25rem;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

/* 各アイテム：3列固定幅 */
.car-slider__item {
  flex: 0 0 calc((100% - 2 * 1.25rem) / 3);
  min-width: 0;
}
@media (max-width: 900px) {
  .car-slider__item { flex: 0 0 calc((100% - 1.25rem) / 2); }
}
@media (max-width: 560px) {
  .car-slider__item { flex: 0 0 100%; }
}

/* 前後ボタン */
.car-slider__prev,
.car-slider__next {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 1.25rem)); /* ドット分上へ */
  width: 40px; height: 40px;
  background: var(--yt-white);
  color: var(--yt-green);
  border: 2px solid var(--yt-green);
  border-radius: 50%;
  font-size: 1rem; font-weight: 900;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--yt-shadow);
  transition: all .2s;
  z-index: 10;
  padding: 0;
  line-height: 1;
}
.car-slider__prev { left: -10px; }
.car-slider__next { right: -10px; }
.car-slider__prev:hover,
.car-slider__next:hover {
  background: var(--yt-green);
  color: var(--yt-white);
  transform: translateY(calc(-50% - 1.25rem)) scale(1.1);
}

/* ドット */
.car-slider__dots {
  display: flex;
  justify-content: center;
  gap: .4rem;
  position: absolute;
  bottom: .5rem;
  left: 0; right: 0;
}
.car-slider__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--yt-border);
  border: none; padding: 0; cursor: pointer;
  transition: all .2s;
}
.car-slider__dot.is-active {
  background: var(--yt-green);
  width: 24px;
  border-radius: 4px;
}

/* recommend セクションのボタンカラー調整 */
.front-car-section--recommend .car-slider__prev,
.front-car-section--recommend .car-slider__next {
  background: rgba(255,255,255,.15);
  color: var(--yt-white);
  border-color: rgba(255,255,255,.5);
}
.front-car-section--recommend .car-slider__prev:hover,
.front-car-section--recommend .car-slider__next:hover {
  background: var(--yt-white);
  color: var(--yt-green-dk);
}
.front-car-section--recommend .car-slider__dot { background: rgba(255,255,255,.3); }
.front-car-section--recommend .car-slider__dot.is-active { background: var(--yt-white); }

/* ═══════════════════════════════════════
   テーブル レスポンシブ（SP：縦積み）
   ═══════════════════════════════════════ */
@media (max-width: 640px) {

    /* ── summaryテーブル（4列→縦積み） ── */
    .car-tbl--summary {
        display: block !important;
    }
    .car-tbl--summary tbody,
    .car-tbl--summary tr {
        display: block !important;
        width: 100% !important;
    }
    .car-tbl--summary tr {
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        margin-bottom: .4rem !important;
        border: 1px solid var(--yt-border) !important;
        border-radius: var(--yt-r-sm) !important;
        overflow: hidden !important;
    }
    .car-tbl--summary th {
        background: var(--yt-green-lt) !important;
        color: var(--yt-green-dk) !important;
        padding: .5rem .7rem !important;
        font-size: .75rem !important;
        white-space: nowrap !important;
        border: none !important;
        width: auto !important;
        display: flex !important;
        align-items: center !important;
    }
    .car-tbl--summary td {
        padding: .5rem .7rem !important;
        font-size: .82rem !important;
        background: #f8fafb !important;
        border: none !important;
        display: flex !important;
        align-items: center !important;
        word-break: break-word !important;
    }

    /* ── detailテーブル（4列→縦積み） ── */
    .car-tbl--detail { display: block !important; }
    .car-tbl--detail tbody,
    .car-tbl--detail tr { display: block !important; width: 100% !important; }
    .car-tbl--detail tr {
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        margin-bottom: .4rem !important;
        border: 1px solid var(--yt-border) !important;
        border-radius: var(--yt-r-sm) !important;
        overflow: hidden !important;
    }
    .car-tbl--detail th {
        background: var(--yt-green) !important;
        color: #fff !important;
        padding: .5rem .7rem !important;
        font-size: .75rem !important;
        white-space: nowrap !important;
        display: flex !important;
        align-items: center !important;
        border: none !important;
        width: auto !important;
    }
    .car-tbl--detail td {
        padding: .5rem .7rem !important;
        font-size: .82rem !important;
        background: #f8fafb !important;
        display: flex !important;
        align-items: center !important;
        border: none !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* 単純th/td縦積みテーブル */
    .car-tbl:not(.car-tbl--detail):not(.car-tbl--summary) {
        display: block !important;
    }
    .car-tbl:not(.car-tbl--detail):not(.car-tbl--summary) tbody,
    .car-tbl:not(.car-tbl--detail):not(.car-tbl--summary) tr {
        display: block !important;
        width: 100% !important;
    }
    .car-tbl:not(.car-tbl--detail):not(.car-tbl--summary) tr {
        margin-bottom: .4rem !important;
        border: 1px solid var(--yt-border) !important;
        border-radius: var(--yt-r-sm) !important;
        overflow: hidden !important;
    }
    .car-tbl:not(.car-tbl--detail):not(.car-tbl--summary) th {
        display: block !important;
        background: var(--yt-green) !important;
        color: #fff !important;
        padding: .45rem .85rem !important;
        font-size: .75rem !important;
        border: none !important;
        width: 100% !important;
    }
    .car-tbl:not(.car-tbl--detail):not(.car-tbl--summary) td {
        display: block !important;
        padding: .6rem .85rem !important;
        background: #f8fafb !important;
        border: none !important;
        width: 100% !important;
        font-size: .85rem !important;
    }
}

/* ═══════════════════════════════════════
   実績タイプ バッジ・ラベル（AA代行対応）
   ═══════════════════════════════════════ */

/* 実績バッジ（大き目・ページ上部） */
.car-result-badge {
  font-size: .78rem;
  padding: .3em .9em;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: .06em;
}
.result--store       { background: var(--yt-green);   color: #fff; }
.result--purchase    { background: #2b6cb0;            color: #fff; }
.result--aa-sell     { background: #744210;            color: #fff; }
.result--aa-buy      { background: #6b21a8;            color: #fff; }
.result--consignment { background: #b7791f;            color: #fff; }

/* 日付バッジ */
.car-badge--date {
  background: #f0f4ff;
  color: #4a5568;
  border: 1px solid #c3dafe;
  font-size: .72rem;
}

/* 実績情報ボックス（価格ボックスの代替） */
.car-result-box {
  background: var(--yt-white);
  border: 2px solid var(--yt-green);
  border-top: 4px solid var(--yt-green);
  border-radius: 0 0 var(--yt-r) var(--yt-r);
  padding: 1.2rem;
  box-shadow: var(--yt-shadow);
  margin-bottom: 2.5rem;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}
.car-result-box__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--yt-border);
}
@media (max-width: 680px) {
  .car-result-box__inner { grid-template-columns: 1fr; }
}
.car-result-box__specs { flex: 1; }
.car-result-box__comment {
  background: var(--yt-green-lt);
  border-left: 4px solid var(--yt-green);
  border-radius: 0 var(--yt-r-sm) var(--yt-r-sm) 0;
  padding: .75rem 1rem;
  min-width: 0;
  max-width: 320px;
  word-break: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
}
@media (max-width: 680px) {
  .car-result-box__comment { max-width: 100%; width: 100%; }
}
.car-result-box__comment-label {
  font-size: .75rem; font-weight: 700;
  color: var(--yt-green-dk); margin-bottom: .4rem;
}
.car-result-box__comment-text {
  font-size: .85rem; line-height: 1.7;
  color: var(--yt-dark);
}
/* CTAボタン（実績ボックス内） */
.car-result-box__cta {
  display: flex; flex-direction: row;
  gap: .75rem; flex-wrap: wrap;
}
.car-result-box__cta .car-btn { flex: 1; min-width: 160px; }

@media (max-width: 640px) {
  .car-result-box__cta {
    flex-direction: column !important;
    gap: .5rem !important;
  }
  .car-result-box__cta .car-btn {
    min-width: unset !important;
    width: 100% !important;
    flex: none !important;
  }
}

/* カード内の実績タイプラベル */
.car-card__result-type,
.car-archive-card__result-type {
  font-size: .78rem; font-weight: 800;
  padding: .25em .7em; border-radius: 4px;
  display: inline-block; margin-bottom: .4rem;
  color: #fff; letter-spacing: .04em;
}
.car-card__result-type.result--store,
.car-archive-card__result-type.result--store       { background: var(--yt-green); }
.car-card__result-type.result--purchase,
.car-archive-card__result-type.result--purchase    { background: #2b6cb0; }
.car-card__result-type.result--aa-sell,
.car-archive-card__result-type.result--aa-sell     { background: #744210; }
.car-card__result-type.result--aa-buy,
.car-archive-card__result-type.result--aa-buy      { background: #6b21a8; }
.car-card__result-type.result--consignment,
.car-archive-card__result-type.result--consignment { background: #b7791f; }

.car-card__result-date,
.car-archive-card__result-date {
  font-size: .7rem; font-weight: 400; opacity: .8; margin-left: .4em;
}

/* ═══════════════════════════════════════
   価格モードバッジ（SOLD OUT・要相談等）
   ═══════════════════════════════════════ */
.car-price-mode-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--yt-r-sm);
  padding: .6rem 1.5rem;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: .06em;
  margin-bottom: .75rem;
  width: 100%;
}
.car-price-mode-badge__note {
  font-size: .78rem; color: var(--yt-gray-dk);
  margin-bottom: .5rem;
}
.price-mode--sold-out  { background: #fee2e2; color: var(--yt-red);  border: 2px solid var(--yt-red); }
.price-mode--ask       { background: #eff6ff; color: #1d4ed8; border: 2px solid #93c5fd; }
.price-mode--market    { background: #fef9c3; color: #854d0e; border: 2px solid #fde047; }
.price-mode--consign   { background: #f0fdf4; color: var(--yt-green-dk); border: 2px dashed var(--yt-green); }
.price-mode--hidden    { background: var(--yt-gray); color: #9ca3af; border: 2px solid var(--yt-border); }

/* カード内価格モード */
.car-card__price-mode,
.car-archive-card__price-mode {
  font-size: .82rem; font-weight: 800;
  padding: .2em .7em; border-radius: 4px;
  display: inline-block; margin-bottom: .35rem;
  letter-spacing: .05em;
}
.car-card__price-mode.price-mode--sold-out,
.car-archive-card__price-mode.price-mode--sold-out  { background: #fee2e2; color: var(--yt-red); }
.car-card__price-mode.price-mode--ask,
.car-archive-card__price-mode.price-mode--ask       { background: #eff6ff; color: #1d4ed8; }
.car-card__price-mode.price-mode--market,
.car-archive-card__price-mode.price-mode--market    { background: #fef9c3; color: #854d0e; }
.car-card__price-mode.price-mode--consign,
.car-archive-card__price-mode.price-mode--consign   { background: #f0fdf4; color: var(--yt-green-dk); }
.car-card__price-mode.price-mode--hidden,
.car-archive-card__price-mode.price-mode--hidden    { background: var(--yt-gray); color: #9ca3af; }

/* カード内ローン */
.car-card__loan { display: block; font-size: .75rem; color: var(--yt-green); font-weight: 700; }

/* 実績ボックス 価格エリア */
.car-result-box__price-area { flex: 1; }

/* 通常投稿カード用 */
.car-card__date    { font-size:.72rem; color:#a0aec0; margin-bottom:.3rem; }
.car-card__excerpt { font-size:.78rem; color:var(--yt-gray-dk); line-height:1.6; margin-bottom:.4rem; }

/* ═══════════════════════════════════════
   メーカーロゴ 無限スクロール
   ═══════════════════════════════════════ */
.maker-scroll-wrap {
  background: #fff !important;
  padding: 2rem 0 1.75rem !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  overflow: hidden !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.maker-scroll__title {
  text-align: center !important;
  font-size: .72rem !important;
  font-weight: 700 !important;
  letter-spacing: .22em !important;
  text-transform: uppercase !important;
  color: #a0aec0 !important;
  margin-bottom: 1.1rem !important;
}
/* スクロールエリア */
.maker-scroll {
  overflow: hidden !important;
  width: 100% !important;
  -webkit-mask-image: linear-gradient(90deg,transparent 0%,#000 8%,#000 92%,transparent 100%) !important;
  mask-image: linear-gradient(90deg,transparent 0%,#000 8%,#000 92%,transparent 100%) !important;
}
/* トラック：JSで幅をセットしてアニメーション */
.maker-scroll__track {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center !important;
  -ms-flex-align: center !important;
  align-items: center !important;
  gap: 20px !important;
  will-change: transform !important;
  -webkit-animation: makerScroll 32s linear infinite !important;
  animation: makerScroll 32s linear infinite !important;
}
.maker-scroll:hover .maker-scroll__track {
  -webkit-animation-play-state: paused !important;
  animation-play-state: paused !important;
}
@-webkit-keyframes makerScroll {
  0%   { -webkit-transform: translateX(0); transform: translateX(0); }
  100% { -webkit-transform: translateX(-50%); transform: translateX(-50%); }
}
@keyframes makerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.maker-scroll__item {
  -webkit-box-flex: 0 !important;
  -ms-flex: 0 0 auto !important;
  flex: 0 0 auto !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center !important;
  -ms-flex-align: center !important;
  align-items: center !important;
  -webkit-box-pack: center !important;
  -ms-flex-pack: center !important;
  justify-content: center !important;
}
.maker-scroll__logo {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center !important;
  -ms-flex-align: center !important;
  align-items: center !important;
  -webkit-box-pack: center !important;
  -ms-flex-pack: center !important;
  justify-content: center !important;
  width: 130px !important;
  height: 58px !important;
  padding: .5rem .75rem !important;
  background: #fff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 6px !important;
  -webkit-transition: border-color .2s, box-shadow .2s, -webkit-transform .2s !important;
  transition: border-color .2s, box-shadow .2s, transform .2s !important;
  box-sizing: border-box !important;
  cursor: default !important;
}
.maker-scroll__item:hover .maker-scroll__logo {
  border-color: #2d7a4f !important;
  box-shadow: 0 3px 14px rgba(45,122,79,.15) !important;
  -webkit-transform: translateY(-2px) !important;
  transform: translateY(-2px) !important;
}
.maker-scroll__logo img {
  max-width: 110px !important;
  max-height: 46px !important;
  width: auto !important;
  height: auto !important;
  -o-object-fit: contain !important;
  object-fit: contain !important;
  display: block !important;
  -webkit-filter: grayscale(15%) !important;
  filter: grayscale(15%) !important;
  -webkit-transition: filter .2s !important;
  transition: filter .2s !important;
}
.maker-scroll__item:hover .maker-scroll__logo img {
  -webkit-filter: grayscale(0%) !important;
  filter: grayscale(0%) !important;
}
.maker-scroll__fallback {
  font-size: .73rem !important;
  font-weight: 700 !important;
  color: #4a5568 !important;
  white-space: nowrap !important;
}

/* ═══════════════════════════════════════
   フッター会社情報 + Googleマップ
   ═══════════════════════════════════════ */
.yt-footer-company {
  background: var(--yt-dark);
  color: #e2e8f0;
  padding: 3rem 1.5rem 2rem;
}
.yt-footer-company__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .yt-footer-company__inner { grid-template-columns: 1fr; }
}
.yt-footer-company__info h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--yt-green);
  letter-spacing: .05em;
}
.yt-footer-company__table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
}
.yt-footer-company__table tr {
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.yt-footer-company__table th {
  width: 7em;
  padding: .55rem .5rem .55rem 0;
  color: var(--yt-green-mid);
  font-weight: 600;
  vertical-align: top;
  white-space: nowrap;
  font-size: .78rem;
}
.yt-footer-company__table td {
  padding: .55rem 0;
  color: #cbd5e0;
  line-height: 1.6;
}
.yt-footer-company__map h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--yt-green);
  letter-spacing: .05em;
}
.yt-footer-company__map-frame {
  border-radius: var(--yt-r);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.08);
}
.yt-footer-company__map-frame iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: none;
}

/* ═══════════════════════════════════════
   手数料ページ (fee) スタイル
   ═══════════════════════════════════════ */
.page-id-fee .entry-title,
body.page-template-page-corporate .entry-title {
  position: relative;
  padding-bottom: .6rem;
}
.page-id-fee .entry-title::after,
body.page-template-page-corporate .entry-title::after {
  content: '';
  display: block;
  width: 48px; height: 4px;
  background: var(--yt-green);
  border-radius: 2px;
  margin-top: .4rem;
}

/* fee ページ 見出し */
.page-id-fee h2 {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  background: var(--yt-green) !important;
  color: #fff !important;
  padding: .65rem 1.1rem !important;
  border-radius: var(--yt-r) var(--yt-r) 0 0 !important;
  margin-bottom: 0 !important;
  letter-spacing: .05em;
}
.page-id-fee h3 {
  font-size: .95rem !important;
  font-weight: 700 !important;
  color: var(--yt-green-dk) !important;
  border-left: 4px solid var(--yt-green) !important;
  padding: .4rem .75rem !important;
  background: var(--yt-green-lt) !important;
  margin: 1.5rem 0 .5rem !important;
  border-radius: 0 var(--yt-r-sm) var(--yt-r-sm) 0 !important;
}

/* TablePress テーブル（fee ページ） */
.page-id-fee .tablepress {
  width: 100% !important;
  border-collapse: collapse !important;
  margin-bottom: 1.5rem !important;
  font-size: .88rem !important;
  border-radius: 0 0 var(--yt-r-sm) var(--yt-r-sm) !important;
  overflow: hidden !important;
}
.page-id-fee .tablepress th,
.page-id-fee .tablepress td {
  padding: .6rem .9rem !important;
  border: 1px solid var(--yt-border) !important;
  vertical-align: middle !important;
  line-height: 1.5 !important;
  color: #1a2744 !important;
}
/* 1行目（ヘッダー）だけ白文字 */
.page-id-fee .tablepress thead th,
.page-id-fee .tablepress .row-1 td {
  background: var(--yt-navy, #1a2744) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-color: rgba(255,255,255,.15) !important;
}
/* tbody の全セルを確実に黒に */
.page-id-fee .tablepress tbody td,
.page-id-fee .tablepress tbody tr td,
.page-id-fee table.tablepress tbody tr td {
  color: #1a2744 !important;
}
.page-id-fee .tablepress tbody tr:nth-child(even) td {
  background: var(--yt-green-lt) !important;
  color: #1a2744 !important;
}
/* 左列（column-1）は偶数・奇数関係なく常に濃いグリーン＋白文字 */
.page-id-fee .tablepress tbody td.column-1,
.page-id-fee .tablepress tbody tr td.column-1,
.page-id-fee .tablepress tbody tr:nth-child(even) td.column-1,
.page-id-fee .tablepress tbody tr:nth-child(odd) td.column-1 {
  background: #2d7a4f !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.page-id-fee .tablepress tbody tr:hover td {
  background: #e0f0e8 !important;
  color: #1a2744 !important;
}
.page-id-fee .tablepress tbody tr:hover td.column-1 {
  background: #1f5c3a !important;
  color: #fff !important;
}
.page-id-fee .tablepress td:last-child {
  font-weight: 600 !important;
  color: #1a2744 !important;
}

/* fee ページ 注記 */
.page-id-fee p {
  font-size: .88rem;
  line-height: 1.85;
  color: var(--yt-gray-dk);
}
.page-id-fee p strong {
  color: var(--yt-green-dk);
}

/* fee ページ 料金ハイライト */
.page-id-fee .tablepress td:contains("法定費用") {
  color: #888 !important;
  font-weight: normal !important;
}

/* ═══════════════════════════════════════
   法人向け全幅テンプレート (page-corporate)
   ═══════════════════════════════════════ */
body.page-template-page-corporate #contents {
  padding: 0 !important;
}
body.page-template-page-corporate .l-content__main {
  max-width: 100% !important;
  width: 100% !important;
}
body.page-template-page-corporate .u-row {
  display: block !important;
}
/* アイキャッチ全幅 */
body.page-template-page-corporate .post-thumbnail {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 0;
  max-height: 480px;
  overflow: hidden;
}
body.page-template-page-corporate .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* コンテンツエリア */
body.page-template-page-corporate .entry-content,
body.page-template-page-corporate .article-body {
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}
/* タイトル */
body.page-template-page-corporate .entry-title {
  max-width: 900px;
  margin: 2rem auto .5rem;
  padding: 0 1.5rem;
  font-size: 1.8rem !important;
  font-weight: 900 !important;
}

/* ヘッダー電話 見本スクショ風 */
.header-cta.u-display-flex-pc {
  align-items: center !important;
  gap: .5rem !important;
}


/* ============================================================
   スライドメニュー 高級感スタイル（スマホのみ）
   ＋ 会社概要テーブル 折り返し修正
   Center Light LLC v1.3.2
   ============================================================ */

/* ── オーバーレイ ── */
.yt-overlay-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.yt-overlay-bg.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ── スライドメニュー 高級感（.drawer-left = SPドロワー専用クラス） ── */
/* .drawer-left はSPドロワーにのみ付くクラス。PCのドロップダウンには付かない */
@media (max-width: 1023px) {

  .yt-overlay-bg { display: block; }

  /* ドロワー本体（.drawer-left で確実にSPのみ対象） */
  .drawer-menu.drawer-left {
    background: #0a0a0a !important;
    border-left: 1px solid rgba(201,168,76,0.25) !important;
    box-shadow: -10px 0 50px rgba(0,0,0,0.6) !important;
  }

  /* ゴールドライン（最上部） */
  .drawer-menu.drawer-left::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #2d7a4f, #c9a84c, #2d7a4f);
    position: sticky;
    top: 0;
    z-index: 2;
    flex-shrink: 0;
  }

  /* 閉じるボタンエリア */
  .drawer-menu.drawer-left .hamburger-close-menu {
    padding: 16px 20px 8px;
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid rgba(201,168,76,0.15);
  }
  .drawer-menu.drawer-left .hamburger-close-line span {
    background: rgba(255,255,255,0.7) !important;
  }

  /* ナビリスト */
  .drawer-menu.drawer-left .drawer-menu__nav {
    list-style: none !important;
    margin: 0 !important;
    padding: 8px 0 !important;
  }

  /* トップレベルliのみアニメーション — サブメニューliには当てない */
  .drawer-menu.drawer-left .drawer-menu__nav > li {
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }
  /* サブメニューliはアニメーションなし・常に親テーマJSに従う */
  .drawer-menu.drawer-left .sub-menu li {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    border-bottom: none !important;
  }

  /* リンク */
  .drawer-menu.drawer-left .drawer-menu__nav > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 17px 22px !important;
    color: rgba(255,255,255,0.85) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
    transition: color 0.2s, background 0.2s, padding-left 0.2s !important;
    background: transparent !important;
  }
  .drawer-menu.drawer-left .drawer-menu__nav > li > a > span {
    color: inherit !important;
  }
  .drawer-menu.drawer-left .drawer-menu__nav > li > a:hover {
    color: #c9a84c !important;
    background: rgba(201,168,76,0.08) !important;
    padding-left: 28px !important;
  }
  .drawer-menu.drawer-left .current-menu-item > a,
  .drawer-menu.drawer-left .current_page_item > a {
    color: #c9a84c !important;
    border-left: 2px solid #c9a84c !important;
  }

  /* サブメニュートグルボタン（▽）— 表示は親テーマJSに任せる */
  .drawer-menu.drawer-left .drawer-menu__toggle {
    background: transparent !important;
    border: none !important;
    color: rgba(255,255,255,0.5) !important;
    cursor: pointer !important;
    transition: color 0.2s !important;
  }
  .drawer-menu.drawer-left .drawer-menu__toggle:hover { color: #c9a84c !important; }

  /* サブメニュー — 色のみ上書き、表示制御は親テーマJSに任せる */
  .drawer-menu.drawer-left .sub-menu a {
    color: rgba(255,255,255,0.6) !important;
  }
  .drawer-menu.drawer-left .sub-menu a:hover {
    color: #c9a84c !important;
  }

  /* JSで挿入するCTAブロック */
  .yt-drawer-cta {
    padding: 20px 20px 28px;
    border-top: 1px solid rgba(201,168,76,0.2);
    background: #111;
  }
  .yt-drawer-cta__label {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    color: #888;
    text-align: center;
    margin-bottom: 8px;
    text-transform: uppercase;
  }
  .yt-drawer-cta__tel {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    margin-bottom: 3px;
    transition: color 0.2s;
  }
  .yt-drawer-cta__tel:hover { color: #c9a84c !important; }
  .yt-drawer-cta__hours {
    font-size: 0.66rem;
    color: #888;
    text-align: center;
    margin-bottom: 14px;
  }
  .yt-drawer-cta__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 12px;
    background: #2d7a4f;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.83rem;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.25s;
    box-sizing: border-box;
  }
  .yt-drawer-cta__contact:hover { background: #3a9460; }
  .yt-drawer-cta__contact svg { width:13px; height:13px; fill:currentColor; flex-shrink:0; }

} /* end @media max-width:1023px */

/* ── 会社概要テーブル 折り返し修正 ── */
.yt-footer-info-bar__table {
  table-layout: fixed !important;
  word-break: break-word !important;
}
.yt-footer-info-bar__table th,
.yt-footer-info-bar__table td {
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}
@media (max-width: 600px) {
  .yt-footer-info-bar__table,
  .yt-footer-info-bar__table tbody,
  .yt-footer-info-bar__table tr,
  .yt-footer-info-bar__table th,
  .yt-footer-info-bar__table td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .yt-footer-info-bar__table th {
    border-radius: 3px 3px 0 0 !important;
  }
  .yt-footer-info-bar__table td {
    border-radius: 0 0 3px 3px !important;
  }
}

/* ============================================================
   スクロールアニメーション（今風・日本サイトトレンド）
   Center Light LLC v1.4.0
   ============================================================ */

/* ── フェードアップ（基本） ── */
.yt-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.yt-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── 左から ── */
.yt-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.yt-reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── 右から ── */
.yt-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.yt-reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── 遅延 ── */
.yt-delay-1 { transition-delay: .1s !important; }
.yt-delay-2 { transition-delay: .2s !important; }
.yt-delay-3 { transition-delay: .3s !important; }
.yt-delay-4 { transition-delay: .4s !important; }
.yt-delay-5 { transition-delay: .5s !important; }

/* ── セクション見出しのアンダーライン伸長 ── */
.yt-heading-line {
    position: relative;
    display: inline-block;
}
.yt-heading-line::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 3px;
    background: linear-gradient(90deg, #2d7a4f, #c9a84c);
    border-radius: 2px;
    transition: width .8s cubic-bezier(.4,0,.2,1) .3s;
}
.yt-heading-line.is-visible::after {
    width: 100%;
}

/* ── カードのホバーリフト（全サイト共通） ── */
.yt-card-hover {
    transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s;
}
.yt-card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,.12) !important;
}

/* ── スクロールプログレスバー ── */
#yt-scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #2d7a4f, #c9a84c);
    z-index: 99999;
    transition: width .1s linear;
    pointer-events: none;
}

/* ── 数字カウントアップ ── */
.yt-counter {
    display: inline-block;
    font-feature-settings: 'tnum';
}

@media (prefers-reduced-motion: reduce) {
    .yt-reveal, .yt-reveal-left, .yt-reveal-right { transition: none !important; opacity: 1; transform: none; }
    .yt-heading-line::after { transition: none; width: 100%; }
}


/* ============================================================
   PHPファイルから移行したスタイル
   Center Light LLC v1.5.0
   ============================================================ */

/* --- from functions.php --- */
/* PC幅ではドロワーを非表示（Emanonのグローバルナビを使う） */
@media (min-width: 1024px) {
  .drawer-menu { display: none !important; }
}
/* SP幅：ドロワー高級感 */
@media (max-width: 1023px) {
  .drawer-menu.drawer-left {
    background: #0a0a0a !important;
    border-left: 1px solid rgba(201,168,76,0.25) !important;
    box-shadow: -10px 0 50px rgba(0,0,0,0.6) !important;
  }
  .drawer-menu.drawer-left::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg,#2d7a4f,#c9a84c,#2d7a4f);
    position: sticky;
    top: 0;
    z-index: 2;
  }
  .drawer-menu.drawer-left .hamburger-close-line span {
    background: rgba(255,255,255,0.75) !important;
  }
  .drawer-menu.drawer-left .drawer-menu__nav > li {
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }
  .drawer-menu.drawer-left .sub-menu li {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .drawer-menu.drawer-left .drawer-menu__nav > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 17px 22px !important;
    color: rgba(255,255,255,0.85) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    background: transparent !important;
  }
  .drawer-menu.drawer-left .drawer-menu__nav > li > a > span { color: inherit !important; }
  .drawer-menu.drawer-left .drawer-menu__nav > li > a:hover {
    color: #c9a84c !important;
    background: rgba(201,168,76,0.08) !important;
    padding-left: 28px !important;
  }
  .drawer-menu.drawer-left .current-menu-item > a,
  .drawer-menu.drawer-left .current_page_item > a {
    color: #c9a84c !important;
    border-left: 2px solid #c9a84c !important;
  }
  .drawer-menu.drawer-left .drawer-menu__toggle {
    background: transparent !important;
    border: none !important;
    color: rgba(255,255,255,0.5) !important;
    cursor: pointer !important;
  }
  .drawer-menu.drawer-left .sub-menu a {
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none !important;
  }
  .drawer-menu.drawer-left .sub-menu a:hover { color: #c9a84c !important; }
  /* オーバーレイ */
  .yt-overlay-bg { display: block; }
}
.yt-overlay-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.yt-overlay-bg.is-active { opacity: 1; pointer-events: auto; }

/* --- from functions.php --- */
/* ════════════════════════════════════════════
   ① 波形ディバイダー（ページヘッダー下）
   全ページのグリーンヘッダーの下に波形SVGを配置
   ════════════════════════════════════════════ */

/* アーカイブ・カテゴリーページヘッダー */
.yt-car-archive-header,
.yt-arc-header,
.yt-cat-header,
.yt-car-single-header {
    padding-bottom: 0 !important;
    position: relative;
}
.yt-car-archive-header::after,
.yt-arc-header::after,
.yt-cat-header::after,
.yt-car-single-header::after {
    content: '' !important;
    display: block !important;
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 48px !important;
    background: none !important;
    /* SVGの波形をbackground-imageで描画 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0,0 Q360,48 720,24 Q1080,0 1440,36 L1440,48 L0,48 Z' fill='%23f4f6f8'/%3E%3C/svg%3E") !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
}
/* ゴールドラインは上書きしない */
.yt-car-archive-header__left,
.yt-arc-header__stripe { display: block !important; }

/* 固定ページv2ヘッダー */
.ywc2-header {
    padding-bottom: 0 !important;
    position: relative !important;
}
.ywc2-header__bottom {
    display: none !important; /* 既存の4pxラインを非表示 */
}
.ywc2-header::after {
    content: '' !important;
    display: block !important;
    width: 100% !important;
    height: 52px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 52' preserveAspectRatio='none'%3E%3Cpath d='M0,0 Q360,52 720,26 Q1080,0 1440,40 L1440,52 L0,52 Z' fill='%23f5f7fa'/%3E%3Cpath d='M0,0 Q360,50 720,24 Q1080,-2 1440,38' fill='none' stroke='%23c9a84c' stroke-width='1.5' stroke-opacity='0.5'/%3E%3C/svg%3E") !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    position: relative !important;
    z-index: 2 !important;
}

/* 在庫一覧・車両詳細 */
.yt-car-archive-header {
    padding-bottom: 0 !important;
}

/* ════════════════════════════════════════════
   ③ 矢印型ディバイダー（CTAセクション前後）
   ════════════════════════════════════════════ */

/* 固定ページv2のCTAセクション上部 */
.ywc2-cta-full {
    position: relative !important;
    margin-top: 0 !important;
    padding-top: 4rem !important;
}
.ywc2-cta-full::before {
    content: '' !important;
    position: absolute !important;
    top: -1px !important;
    left: 0 !important;
    width: 100% !important;
    height: 56px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L720,56 L1440,0 L1440,0 L0,0 Z' fill='%23f5f7fa'/%3E%3Cline x1='0' y1='0' x2='720' y2='56' stroke='%23c9a84c' stroke-width='1' stroke-opacity='0.4'/%3E%3Cline x1='720' y1='56' x2='1440' y2='0' stroke='%23c9a84c' stroke-width='1' stroke-opacity='0.4'/%3E%3C/svg%3E") !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    pointer-events: none !important;
}
/* CTA下部にも逆矢印 */
.ywc2-cta-full::after {
    content: '' !important;
    position: absolute !important;
    bottom: -1px !important;
    left: 0 !important;
    width: 100% !important;
    height: 40px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0,40 L720,0 L1440,40 Z' fill='%23f5f7fa'/%3E%3C/svg%3E") !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* フッター会社情報前の矢印 */
.yt-footer-info-bar {
    position: relative !important;
    padding-top: 3rem !important;
}
.yt-footer-info-bar::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 48px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L720,48 L1440,0 L1440,0 L0,0 Z' fill='%230a0a0a'/%3E%3C/svg%3E") !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    pointer-events: none !important;
}

/* 固定ページ共通CTAの矢印 */
.yt-page-cta {
    position: relative !important;
    margin-top: 3rem !important;
    padding-top: 3.5rem !important;
}
.yt-page-cta::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 48px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L720,48 L1440,0 L1440,48 L0,48 Z' fill='%231e5c3a'/%3E%3Cline x1='0' y1='0' x2='720' y2='48' stroke='%23c9a84c' stroke-width='1.5' stroke-opacity='0.5'/%3E%3Cline x1='720' y1='48' x2='1440' y2='0' stroke='%23c9a84c' stroke-width='1.5' stroke-opacity='0.5'/%3E%3C/svg%3E") !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    pointer-events: none !important;
}

/* カテゴリーページのサイドバーCTA上 */
.yt-arc-side-tel {
    position: relative !important;
    overflow: visible !important;
}

/* アーカイブページのカテゴリーヘッダー after を波形に */
.yt-cat-header::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0,0 Q360,48 720,24 Q1080,0 1440,36 L1440,48 L0,48 Z' fill='%23f5f7fa'/%3E%3Cpath d='M0,0 Q360,46 720,22 Q1080,-2 1440,34' fill='none' stroke='%23c9a84c' stroke-width='1.5' stroke-opacity='0.45'/%3E%3C/svg%3E") !important;
}

/* --- from functions.php --- */
/* ===============================================
       TablePress 全テーブル スタイル
       左列 = 濃いグリーン背景＋白文字
       右列 = 黒文字
       =============================================== */

    /* 全セルデフォルト：黒文字 */
    .tablepress td { color: #1a2744 !important; }

    /* 左列（.column-1）= 濃いグリーン背景＋白文字 */
    .tablepress td.column-1 {
        background-color: #1f5c3a !important;
        color: #ffffff !important;
        font-weight: 700 !important;
    }

    /* 1行目（ヘッダー行）全列 = ネイビー背景＋白文字 */
    .tablepress .row-1 td {
        background-color: #1a2744 !important;
        color: #ffffff !important;
        font-weight: 700 !important;
    }

    /* 偶数行の右列 = 薄グリーン背景＋黒文字 */
    .tablepress tr.even td:not(.column-1) {
        background-color: #e8f5ee !important;
        color: #1a2744 !important;
    }

    /* 奇数行の右列 = 白背景＋黒文字 */
    .tablepress tr.odd td:not(.column-1) {
        background-color: #ffffff !important;
        color: #1a2744 !important;
    }

/* --- from functions.php --- */
/* アイキャッチを真の全幅に */
    body.page-template-page-corporate .post-thumbnail,
    body.page-template-page-corporate .entry-thumb {
        width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        max-width: none !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        overflow: hidden !important;
        max-height: 500px !important;
    }
    body.page-template-page-corporate .post-thumbnail img,
    body.page-template-page-corporate .entry-thumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        max-height: 500px !important;
        display: block !important;
    }
    /* サイドバー非表示 */
    body.page-template-page-corporate .l-sidebar { display: none !important; }
    body.page-template-page-corporate .l-content__main {
        width: 100% !important;
        max-width: 100% !important;
    }
    /* コンテンツ幅 */
    body.page-template-page-corporate .entry-content,
    body.page-template-page-corporate .article-body {
        max-width: 960px;
        margin-left: auto;
        margin-right: auto;
    }
    /* h2スタイル */
    body.page-template-page-corporate .entry-content h2 {
        font-size: 1.2rem !important;
        font-weight: 800 !important;
        background: #2d7a4f !important;
        color: #fff !important;
        padding: .65rem 1.1rem !important;
        border-radius: 8px 8px 0 0 !important;
        margin: 2rem 0 0 !important;
    }
    body.page-template-page-corporate .entry-content h2::before,
    body.page-template-page-corporate .entry-content h2::after { display:none !important; }
    body.page-template-page-corporate .entry-content h3 {
        font-size: 1rem !important;
        font-weight: 700 !important;
        color: #1f5c3a !important;
        border-left: 4px solid #2d7a4f !important;
        padding: .45rem .85rem !important;
        background: #e8f5ee !important;
        margin: 1.5rem 0 .5rem !important;
        border-radius: 0 6px 6px 0 !important;
    }
    body.page-template-page-corporate .entry-content h3::before,
    body.page-template-page-corporate .entry-content h3::after { display:none !important; }
    /* TablePress */
    body.page-template-page-corporate .tablepress { width:100% !important; border-collapse:collapse !important; font-size:.9rem !important; box-shadow:0 2px 12px rgba(0,0,0,.07) !important; }
    body.page-template-page-corporate .tablepress th,
    body.page-template-page-corporate .tablepress td { padding:.65rem 1rem !important; border:1px solid #e2e8f0 !important; vertical-align:middle !important; }
    body.page-template-page-corporate .tablepress .row-1 td { background:#1a2744 !important; color:#fff !important; font-weight:700 !important; }
    body.page-template-page-corporate .tablepress tbody tr:nth-child(even) td { background:#e8f5ee !important; }

/* --- from functions.php --- */
/* ────────────────────────────────────────
   CSS変数
   ──────────────────────────────────────── */
:root {
    --pg-green:       #2d7a4f;
    --pg-green-dk:    #1e5c3a;
    --pg-green-lt:    #e8f5ee;
    --pg-green-mid:   #3a9460;
    --pg-gold:        #c9a84c;
    --pg-dark:        #111827;
    --pg-navy:        #1a2744;
    --pg-white:       #ffffff;
    --pg-gray:        #f4f6f8;
    --pg-border:      #e2e8f0;
    --pg-text:        #333;
    --pg-radius:      10px;
    --pg-shadow:      0 4px 24px rgba(0,0,0,.08);
    --pg-shadow-lg:   0 8px 40px rgba(0,0,0,.12);
    --pg-easing:      cubic-bezier(.4,0,.2,1);
}

/* ────────────────────────────────────────
   ① ページヒーロー（アイキャッチ）
   ──────────────────────────────────────── */
.page-template-default .post-thumbnail,
.page-template-default .entry-thumb,
body.page .post-thumbnail,
body.page .entry-thumb {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    max-width: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    max-height: 420px !important;
}
.page-template-default .post-thumbnail img,
.page-template-default .entry-thumb img,
body.page .post-thumbnail img,
body.page .entry-thumb img {
    width: 100% !important;
    height: 420px !important;
    object-fit: cover !important;
    object-position: center 40% !important;
    display: block !important;
    filter: brightness(.88) !important;
}

/* ────────────────────────────────────────
   ② ページタイトル
   ──────────────────────────────────────── */
body.page .entry-title,
body.page .article-title,
body.page h1.page-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem) !important;
    font-weight: 900 !important;
    color: var(--pg-dark) !important;
    letter-spacing: .04em !important;
    margin-bottom: 2rem !important;
    padding-bottom: .75rem !important;
    border-bottom: 3px solid var(--pg-green) !important;
    position: relative !important;
}
body.page .entry-title::after,
body.page h1.page-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -3px !important;
    left: 0 !important;
    width: 60px !important;
    height: 3px !important;
    background: var(--pg-gold) !important;
}

/* ────────────────────────────────────────
   ③ サイドバー非表示（全固定ページ）
   ──────────────────────────────────────── */
body.page .l-sidebar { display: none !important; }
body.page .l-content__main,
body.page .l-main__content {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}
body.page .l-content__inner,
body.page .l-inner {
    max-width: 1000px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ────────────────────────────────────────
   ④ 本文エリア基本
   ──────────────────────────────────────── */
body.page .entry-content,
body.page .article-body {
    max-width: 960px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: .95rem !important;
    line-height: 1.9 !important;
    color: var(--pg-text) !important;
}

/* ────────────────────────────────────────
   ⑤ 見出し h2
   ──────────────────────────────────────── */
body.page .entry-content h2 {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: var(--pg-white) !important;
    background: linear-gradient(135deg, var(--pg-green) 0%, var(--pg-green-mid) 100%) !important;
    padding: .7rem 1.2rem .7rem 1.4rem !important;
    border-radius: var(--pg-radius) var(--pg-radius) 0 0 !important;
    margin: 2.5rem 0 0 !important;
    position: relative !important;
    letter-spacing: .04em !important;
    border: none !important;
}
body.page .entry-content h2::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important; top: 0 !important; bottom: 0 !important;
    width: 5px !important;
    background: var(--pg-gold) !important;
    border-radius: var(--pg-radius) 0 0 0 !important;
}
body.page .entry-content h2::after { display: none !important; }

/* h2直後の要素にボーダー */
body.page .entry-content h2 + p,
body.page .entry-content h2 + ul,
body.page .entry-content h2 + ol,
body.page .entry-content h2 + .tablepress-responsive-container,
body.page .entry-content h2 + table {
    border: 1px solid var(--pg-border) !important;
    border-top: none !important;
    border-radius: 0 0 var(--pg-radius) var(--pg-radius) !important;
    padding: 1rem 1.2rem !important;
    margin-top: 0 !important;
    background: var(--pg-white) !important;
    box-shadow: var(--pg-shadow) !important;
}

/* ────────────────────────────────────────
   ⑥ 見出し h3
   ──────────────────────────────────────── */
body.page .entry-content h3 {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--pg-green-dk) !important;
    border-left: 4px solid var(--pg-green) !important;
    padding: .5rem .9rem !important;
    background: var(--pg-green-lt) !important;
    margin: 2rem 0 .75rem !important;
    border-radius: 0 6px 6px 0 !important;
}
body.page .entry-content h3::before,
body.page .entry-content h3::after { display: none !important; }

/* ────────────────────────────────────────
   ⑦ 本文 p / ul / ol
   ──────────────────────────────────────── */
body.page .entry-content p {
    margin-bottom: 1em !important;
}
body.page .entry-content ul,
body.page .entry-content ol {
    padding-left: 1.5em !important;
    margin-bottom: 1em !important;
}
body.page .entry-content ul li {
    list-style: none !important;
    position: relative !important;
    padding-left: 1.2em !important;
    margin-bottom: .4em !important;
}
body.page .entry-content ul li::before {
    content: '★' !important;
    position: absolute !important;
    left: 0 !important;
    color: var(--pg-green) !important;
    font-size: .75em !important;
    top: .25em !important;
}

/* ────────────────────────────────────────
   ⑧ TablePress テーブル
   ──────────────────────────────────────── */
body.page .tablepress {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: .88rem !important;
    box-shadow: var(--pg-shadow) !important;
    border-radius: var(--pg-radius) !important;
    overflow: hidden !important;
}
body.page .tablepress th,
body.page .tablepress td {
    padding: .7rem 1rem !important;
    border: 1px solid var(--pg-border) !important;
    vertical-align: middle !important;
    word-break: break-word !important;
}
/* ヘッダー行 */
body.page .tablepress .row-1 td {
    background: var(--pg-navy) !important;
    color: var(--pg-white) !important;
    font-weight: 700 !important;
    font-size: .82rem !important;
    letter-spacing: .04em !important;
    border-color: rgba(255,255,255,.1) !important;
}
/* 左列 */
body.page .tablepress td:first-child {
    background: var(--pg-green-lt) !important;
    color: var(--pg-green-dk) !important;
    font-weight: 700 !important;
}
/* 偶数行 */
body.page .tablepress tbody tr:nth-child(even) td:not(:first-child) {
    background: #f9fcfa !important;
}
/* ホバー */
body.page .tablepress tbody tr:hover td {
    background: #e0f2e9 !important;
    transition: background .2s !important;
}
/* スマホ */
@media (max-width: 640px) {
    body.page .tablepress,
    body.page .tablepress tbody,
    body.page .tablepress tr {
        display: block !important;
        width: 100% !important;
    }
    body.page .tablepress tr {
        border: 1px solid var(--pg-border) !important;
        border-radius: 6px !important;
        margin-bottom: .5rem !important;
        overflow: hidden !important;
    }
    body.page .tablepress td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border: none !important;
        border-bottom: 1px solid var(--pg-border) !important;
    }
    body.page .tablepress td:first-child {
        font-size: .78rem !important;
        padding: .4rem .8rem !important;
    }
}

/* ────────────────────────────────────────
   ⑨ CTAブロック（ページ下部）
   ──────────────────────────────────────── */
body.page .yt-page-cta {
    margin-top: 3rem;
    background: linear-gradient(135deg, var(--pg-green-dk) 0%, var(--pg-green) 100%);
    border-radius: var(--pg-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    color: var(--pg-white);
    box-shadow: var(--pg-shadow-lg);
    position: relative;
    overflow: hidden;
}
body.page .yt-page-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,.15) 0%, transparent 60%);
    pointer-events: none;
}
body.page .yt-page-cta__title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: .5rem;
}
body.page .yt-page-cta__sub {
    font-size: .85rem;
    opacity: .85;
    margin-bottom: 1.5rem;
}
body.page .yt-page-cta__btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
body.page .yt-page-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none !important;
    transition: all .25s var(--pg-easing);
}
body.page .yt-page-cta__btn--tel {
    background: var(--pg-white);
    color: var(--pg-green-dk) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
body.page .yt-page-cta__btn--tel:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
body.page .yt-page-cta__btn--mail {
    background: rgba(255,255,255,.15);
    color: var(--pg-white) !important;
    border: 2px solid rgba(255,255,255,.6);
}
body.page .yt-page-cta__btn--mail:hover {
    background: rgba(255,255,255,.25);
    transform: translateY(-2px);
}
@media (max-width: 640px) {
    body.page .yt-page-cta { padding: 1.8rem 1.2rem; }
    body.page .yt-page-cta__btns { flex-direction: column; align-items: stretch; }
    body.page .yt-page-cta__btn { justify-content: center; }
}

/* ────────────────────────────────────────
   ⑩ ページネーションとパンくず強化
   ──────────────────────────────────────── */
body.page .breadcrumb,
body.page .p-breadcrumb {
    font-size: .78rem !important;
    color: #888 !important;
    padding: .6rem 0 !important;
    margin-bottom: 1.5rem !important;
}
body.page .breadcrumb a,
body.page .p-breadcrumb a {
    color: var(--pg-green) !important;
    text-decoration: none !important;
}
body.page .breadcrumb a:hover,
body.page .p-breadcrumb a:hover {
    text-decoration: underline !important;
}

/* --- from functions.php --- */
/* グリーン帯はそのまま・上下にパディングだけ追加 */
.header-menu-default {
    padding-top: .4rem !important;
    padding-bottom: .4rem !important;
}
/* メニューリストに白半透明カプセルを被せる */
.header-menu-default .header-menu {
    background: rgba(255,255,255,0.2) !important;
    border-radius: 50px !important;
    border: 1.5px solid rgba(255,255,255,0.4) !important;
    padding-left: .5rem !important;
    padding-right: .5rem !important;
}
/* 各リンク：ホバーで白半透明 */
.header-menu-default .header-menu > .menu-item > a {
    border-radius: 50px !important;
    transition: background .18s !important;
}
.header-menu-default .header-menu > .menu-item > a:hover {
    background: rgba(255,255,255,0.25) !important;
}
/* 区切り線を消す */
.header-menu-default .header-menu > .menu-item:not(:first-child) > a span::before {
    display: none !important;
}

/* --- from functions.php --- */
/*==================================================
      Y-Traders ヘッダー電話 CSS完全上書き版
      .header-cta__tell の中身をCSSで非表示にして
      ::before/::after で再描画する代わりに
      display:contents + visibility で丸ごと置換
    ==================================================*/

    /* 既存の電話エリアを完全に非表示 */
    .header-cta__tell {
        display: none !important;
    }

    /* ヘッダーCTA全体を縦中央揃えに */
    .header-cta.u-display-flex-pc {
        align-items: center !important;
        gap: .6rem !important;
    }

    /* Y-Tradersカスタム電話ブロック */
    .yt-tel-block {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 0 !important;
        margin-right: .5rem !important;
        padding-right: .75rem !important;
        border-right: 1.5px solid #e2e8f0 !important;
        line-height: 1 !important;
    }
    .yt-tel-block__note {
        font-size: .65rem !important;
        font-weight: 600 !important;
        color: #64748b !important;
        letter-spacing: .04em !important;
        margin-bottom: .18rem !important;
        display: block !important;
    }
    .yt-tel-block__row {
        display: flex !important;
        align-items: center !important;
        gap: .28em !important;
        text-decoration: none !important;
        color: #1a1a2e !important;
        transition: opacity .15s !important;
        margin-bottom: .08rem !important;
    }
    .yt-tel-block__row:hover { opacity: .72 !important; }
    .yt-tel-block__icon {
        display: inline-flex !important;
        width: 15px !important; height: 15px !important;
        color: #2d7a4f !important;
    }
    .yt-tel-block__icon svg {
        width: 100% !important; height: 100% !important;
        fill: #2d7a4f !important;
    }
    .yt-tel-block__num {
        font-weight: 900 !important;
        color: #1a1a2e !important;
        letter-spacing: -.01em !important;
        font-variant-numeric: tabular-nums !important;
    }
    .yt-tel-block__row--main .yt-tel-block__num {
        font-size: 1.38rem !important;
    }
    .yt-tel-block__row--sub .yt-tel-block__num {
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        color: #334155 !important;
    }

/* --- from functions.php --- */
/* フッター ロゴバー（高級感モダン版） */
    .yt-footer-logo-bar {
        background: linear-gradient(135deg, #0d1b2a 0%, #1a2744 60%, #0f2d1e 100%);
        padding: 2.5rem 1.5rem 2rem;
        position: relative;
        overflow: hidden;
        text-align: center;
    }
    /* 装飾ライン */
    .yt-footer-logo-bar::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 3px;
        background: linear-gradient(90deg, transparent, #c8a84b, #2d7a4f, #c8a84b, transparent);
    }
    /* 背景の光彩エフェクト */
    .yt-footer-logo-bar::after {
        content: '';
        position: absolute;
        top: -60px; left: 50%;
        transform: translateX(-50%);
        width: 500px; height: 200px;
        background: radial-gradient(ellipse, rgba(45,122,79,.15) 0%, transparent 70%);
        pointer-events: none;
    }
    .yt-footer-logo-bar__inner {
        max-width: 1100px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .75rem;
    }
    /* ロゴ画像 */
    .yt-footer-logo-bar__img {
        max-height: 60px;
        width: auto;
        display: block;
        filter: brightness(0) invert(1);
        opacity: .95;
    }
    /* テキスト（ロゴ未設定時） */
    .yt-footer-logo-bar__text {
        font-size: 1.45rem;
        font-weight: 900;
        color: #fff;
        letter-spacing: .06em;
        font-feature-settings: "palt";
        text-shadow: 0 2px 20px rgba(45,122,79,.4);
    }
    /* キャッチコピー */
    .yt-footer-logo-bar__catch {
        font-size: .72rem;
        color: rgba(255,255,255,.5);
        letter-spacing: .2em;
        text-transform: uppercase;
        font-weight: 500;
    }
    /* ゴールドのアクセントライン */
    .yt-footer-logo-bar__line {
        width: 60px;
        height: 1.5px;
        background: linear-gradient(90deg, transparent, #c8a84b, transparent);
        margin: .25rem auto 0;
    }

    /* ── フッター ACCESS 見出し ── */
    .yt-footer-access-head {
        background: #050f07;
        text-align: center;
        padding: 2.5rem 1rem 1.75rem;
        position: relative;
        overflow: hidden;
    }
    /* グリッド光線エフェクト */
    .yt-footer-access-head::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            linear-gradient(rgba(0,255,80,.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0,255,80,.04) 1px, transparent 1px);
        background-size: 40px 40px;
        pointer-events: none;
    }
    .yt-footer-access-head::after {
        content: '';
        position: absolute;
        bottom: 0; left: 0; right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, #00c853, #1de9b6, #00c853, transparent);
    }
    .yt-footer-access-head__en {
        display: block;
        font-size: .7rem;
        font-weight: 800;
        letter-spacing: .4em;
        color: #00e676;
        text-transform: uppercase;
        margin-bottom: .35rem;
        font-family: 'Segoe UI','Helvetica Neue',sans-serif;
        position: relative;
        text-shadow: 0 0 12px rgba(0,230,118,.5);
    }
    .yt-footer-access-head__ja {
        display: block;
        font-size: 1.65rem;
        font-weight: 900;
        color: #ffffff;
        letter-spacing: .1em;
        position: relative;
        text-shadow: 0 0 20px rgba(0,200,83,.3);
    }

    /* Googleマップ */
    #yt-footer-map-wrap {
        width: 100%;
        margin: 0; padding: 0;
        line-height: 0;
        position: relative;
    }
    #yt-footer-map-wrap iframe {
        display: block;
        width: 100%; height: 400px;
        border: none;
        filter: hue-rotate(90deg) saturate(0.7) brightness(0.85);
    }
    #yt-footer-map-wrap iframe:hover {
        filter: hue-rotate(90deg) saturate(1) brightness(1);
        transition: filter .4s;
    }
    @media (max-width: 640px) {
        #yt-footer-map-wrap iframe { height: 250px; }
    }

    /* ── 会社情報バー ── */
    .yt-footer-info-bar {
        background: #050f07;
        position: relative;
        overflow: hidden;
        padding: 0;
        width: 100%;
        border-top: 2px solid #00c853;
    }
    /* グリッド背景 */
    .yt-footer-info-bar::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            linear-gradient(rgba(0,255,80,.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0,255,80,.03) 1px, transparent 1px);
        background-size: 32px 32px;
        pointer-events: none;
    }
    .yt-footer-info-bar__inner {
        max-width: 1140px;
        margin: 0 auto;
        padding: 2.5rem 2rem;
        display: grid;
        grid-template-columns: 1fr 280px;
        gap: 2.5rem;
        align-items: start;
        position: relative;
        z-index: 1;
        box-sizing: border-box;
        width: 100%;
    }
    @media (max-width: 860px) {
        .yt-footer-info-bar__inner { grid-template-columns: 1fr !important; gap: 2rem !important; padding: 2rem 1rem !important; }
    }

    /* 会社名 */
    .yt-footer-info-bar__company {
        font-size: 1.05rem;
        font-weight: 800;
        color: #00e676;
        letter-spacing: .08em;
        margin-bottom: 1.25rem;
        padding-bottom: .85rem;
        border-bottom: 1px solid rgba(0,200,83,.25);
        display: flex;
        align-items: center;
        gap: .55em;
        text-shadow: 0 0 14px rgba(0,230,118,.35);
    }
    .yt-footer-info-bar__company::before {
        content: '';
        display: inline-block;
        width: 3px; height: 1.1em;
        background: linear-gradient(180deg, #00e676, #00c853);
        border-radius: 2px;
        box-shadow: 0 0 8px #00c853;
        flex-shrink: 0;
    }

    /* テーブル（左列グリーン＋矢印） */
    .yt-footer-info-bar__table {
        width: 100%;
        table-layout: fixed;
        border-collapse: collapse;
        border-spacing: 0;
        font-size: .88rem;
        max-width: 100%;
    }
    .yt-footer-info-bar__table tr { background: transparent; }
    .yt-footer-info-bar__table th {
        width: 9em;
        min-width: 9em;
        max-width: 9em;
        padding: .8rem .8rem;
        background: #00a040;
        color: #fff;
        font-weight: 700;
        font-size: .78rem;
        letter-spacing: .02em;
        vertical-align: middle;
        white-space: normal;
        word-break: keep-all;
        position: relative;
        border-radius: 3px 0 0 3px;
    }
    .yt-footer-info-bar__table th::after {
        content: '';
        position: absolute;
        right: -10px; top: 50%;
        transform: translateY(-50%);
        width: 0; height: 0;
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
        border-left: 10px solid #00a040;
        z-index: 2;
    }
    .yt-footer-info-bar__table td {
        padding: .8rem 1rem .8rem 1.4rem;
        color: #1a2744;
        line-height: 1.75;
        font-size: .85rem;
        background: rgba(255,255,255,.92);
        border: 1px solid rgba(0,200,83,.12);
        border-radius: 0 3px 3px 0;
        vertical-align: middle;
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    .yt-footer-info-bar__table a {
        color: #69f0ae !important;
        font-weight: 700;
        text-decoration: none !important;
    }
    .yt-footer-info-bar__table a:hover { color: #fff !important; }

    /* 右：電話CTAボックス */
    .yt-footer-info-bar__tel {
        background: linear-gradient(135deg, rgba(0,200,83,.08) 0%, rgba(0,100,40,.15) 100%);
        border: 1px solid rgba(0,200,83,.3);
        border-radius: 12px;
        padding: 1.75rem 1.5rem;
        text-align: center;
        position: relative;
        overflow: hidden;
        box-shadow: 0 0 30px rgba(0,200,83,.08), inset 0 1px 0 rgba(0,255,80,.1);
        min-width: 0;
        box-sizing: border-box;
    }
    .yt-footer-info-bar__tel::before {
        content: '';
        position: absolute;
        top: -40px; left: 50%;
        transform: translateX(-50%);
        width: 180px; height: 80px;
        background: radial-gradient(ellipse, rgba(0,200,83,.12) 0%, transparent 70%);
        pointer-events: none;
    }
    .yt-footer-info-bar__tel-label {
        font-size: .62rem;
        color: #00c853;
        letter-spacing: .22em;
        text-transform: uppercase;
        font-weight: 700;
        display: block;
        margin-bottom: 1rem;
        text-shadow: 0 0 8px rgba(0,200,83,.4);
    }
    .yt-footer-info-bar__tel-divider {
        width: 30px; height: 1px;
        background: linear-gradient(90deg, transparent, #00c853, transparent);
        margin: .5rem auto 1rem;
    }
    .yt-footer-info-bar__tel-num {
        font-size: clamp(1.1rem, 4vw, 1.6rem);
        font-weight: 900;
        color: #ffffff !important;
        text-decoration: none !important;
        display: block;
        letter-spacing: -.01em;
        line-height: 1.15;
        font-variant-numeric: tabular-nums;
        text-shadow: 0 0 20px rgba(0,200,83,.2);
        /* スマホではみ出さないよう折り返す */
        white-space: normal;
        word-break: break-all;
    }
    .yt-footer-info-bar__tel-num:hover { color: #00e676 !important; }
    .yt-footer-info-bar__tel-num2 {
        font-size: clamp(0.85rem, 3vw, 1.05rem);
        font-weight: 700;
        color: #69f0ae !important;
        text-decoration: none !important;
        display: block;
        margin-top: .35rem;
        font-variant-numeric: tabular-nums;
        /* スマホではみ出さないよう折り返す */
        white-space: normal;
        word-break: break-all;
    }
    .yt-footer-info-bar__tel-num2:hover { color: #fff !important; }
    .yt-footer-info-bar__tel-note {
        font-size: .65rem;
        color: rgba(200,230,201,.4);
        margin-top: 1rem;
        display: block;
        line-height: 1.7;
    }

    /* ===== スマホ専用（860px以下） ===== */
    @media (max-width: 860px) {
        /* グリッド1列化 */
        .yt-footer-info-bar__inner {
            grid-template-columns: 1fr !important;
            padding: 2rem 1rem !important;
        }
        /* 電話ブロック */
        .yt-footer-info-bar__tel {
            padding: 1.2rem 1rem !important;
            width: 100% !important;
        }
        /* テーブル：th/tdを縦積みにして折り返す */
        .yt-footer-info-bar__table,
        .yt-footer-info-bar__table tbody,
        .yt-footer-info-bar__table tr,
        .yt-footer-info-bar__table th,
        .yt-footer-info-bar__table td {
            display: block !important;
            width: 100% !important;
            box-sizing: border-box !important;
        }
        .yt-footer-info-bar__table tr {
            margin-bottom: 6px !important;
        }
        .yt-footer-info-bar__table th {
            border-radius: 3px 3px 0 0 !important;
            white-space: normal !important;
        }
        .yt-footer-info-bar__table th::after {
            display: none !important;
        }
        .yt-footer-info-bar__table td {
            border-radius: 0 0 3px 3px !important;
            padding: .7rem 1rem !important;
        }
    }

/* --- from functions.php --- */
/* サイドバー非表示・全幅化 - コンテンツエリアのみ */
#contents .l-sidebar,
.l-contents .l-sidebar { display: none !important; }
#contents .l-content__main { width: 100% !important; max-width: 100% !important; float: none !important; }
#contents .u-row { display: block !important; }
.wrapper-archive-list { max-width: 1160px; margin-left: auto !important; margin-right: auto !important; }

/* --- from functions.php --- */
.yt-tabs-wrap { max-width: 860px; margin: 0 auto; }
.yt-tabs-nav {
    display: flex; gap: 0; border-radius: 12px 12px 0 0; overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.yt-tabs-btn {
    flex: 1; padding: 1rem .5rem; font-size: .9rem; font-weight: 700;
    text-align: center; cursor: pointer; border: none; background: #e8f5ee;
    color: #2d7a4f; transition: all .25s; letter-spacing: .04em;
    border-bottom: 3px solid transparent;
}
.yt-tabs-btn.is-active {
    background: linear-gradient(135deg, #1e5c3a, #2d7a4f);
    color: #fff; border-bottom-color: #c9a84c;
}
.yt-tabs-btn:not(.is-active):hover { background: #d4edda; }
.yt-tabs-body {
    background: #fff; border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    padding: 2rem 2.5rem;
}
@media(max-width:640px){ .yt-tabs-body { padding: 1.4rem 1rem; } }
.yt-tab-panel { display: none; }
.yt-tab-panel.is-active { display: block; }
.yt-tab-panel__lead {
    font-size: .85rem; color: #718096; margin-bottom: 1.4rem;
    padding: .8rem 1rem; background: #f5f7fa; border-radius: 8px;
    border-left: 4px solid #2d7a4f;
}
/* フォームスタイル（汎用） */
.yt-tabs-wrap .wpcf7-form label { display:block; font-size:.82rem; font-weight:700; color:#2d3748; margin-bottom:.35rem; margin-top:.9rem; }
.yt-tabs-wrap .wpcf7-form input[type="text"],
.yt-tabs-wrap .wpcf7-form input[type="email"],
.yt-tabs-wrap .wpcf7-form input[type="tel"],
.yt-tabs-wrap .wpcf7-form select,
.yt-tabs-wrap .wpcf7-form textarea {
    width:100% !important; box-sizing:border-box !important;
    padding:.3rem .9rem !important; border:1px solid #d1d5db !important;
    border-radius:6px !important; font-size:.88rem !important;
    background:#fafafa !important; transition:border-color .2s, box-shadow .2s !important;
}
.yt-tabs-wrap .wpcf7-form input:focus,
.yt-tabs-wrap .wpcf7-form select:focus,
.yt-tabs-wrap .wpcf7-form textarea:focus {
    outline:none !important; border-color:#2d7a4f !important;
    box-shadow:0 0 0 3px rgba(45,122,79,.12) !important; background:#fff !important;
}
.yt-tabs-wrap .wpcf7-form input[type="submit"] {
    width:100% !important; max-width:400px !important;
    background:linear-gradient(135deg,#1e5c3a,#2d7a4f) !important;
    color:#fff !important; border:none !important;
    padding:1rem 2rem !important; font-size:1rem !important; font-weight:700 !important;
    border-radius:50px !important; cursor:pointer !important;
    box-shadow:0 4px 16px rgba(45,122,79,.35) !important;
    display:block !important; margin:1.5rem auto 0 !important;
    transition:transform .2s, box-shadow .2s !important;
}
.yt-tabs-wrap .wpcf7-form input[type="submit"]:hover {
    transform:translateY(-2px) !important;
    box-shadow:0 8px 24px rgba(45,122,79,.45) !important;
}
.yt-tabs-wrap .wpcf7-response-output {
    margin:1rem 0 !important; padding:.8rem 1.2rem !important;
    border-radius:8px !important; font-size:.85rem !important; border:none !important;
}
.yt-tabs-wrap .wpcf7-mail-sent-ok { background:#e8f5ee !important; color:#1e5c3a !important; }
.yt-tabs-wrap .wpcf7-validation-errors { background:#fff5f5 !important; color:#c53030 !important; }

/* --- from page-wide-corporate-v2.php --- */
.isc-points{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1.8rem;}
            @media(max-width:640px){.isc-points{grid-template-columns:1fr;}}
            .isc-point{background:#fff;border-radius:10px;padding:1.3rem 1.1rem;border-top:4px solid var(--v2-green);box-shadow:0 2px 16px rgba(0,0,0,.07);transition:transform .25s,box-shadow .25s;}
            .isc-point:hover{transform:translateY(-4px);box-shadow:0 8px 28px rgba(45,122,79,.12);}
            .isc-point__title{font-size:.88rem;font-weight:700;color:var(--v2-green-dk);margin-bottom:.35rem;}
            .isc-point__text{font-size:.78rem;color:var(--v2-text-sub);line-height:1.75;}
            .isc-price-box{background:linear-gradient(135deg,var(--v2-green-dk),var(--v2-green-mid));border-radius:12px;padding:1.5rem 1.8rem;margin-bottom:1.4rem;color:#fff;position:relative;overflow:hidden;}
            .isc-price-box__label{font-size:.65rem;letter-spacing:.2em;color:var(--v2-gold);font-weight:700;display:block;margin-bottom:.4rem;}
            .isc-price-box__main{font-size:1.1rem;font-weight:800;margin-bottom:.35rem;}
            .isc-price-box__sub{font-size:.8rem;color:rgba(255,255,255,.82);line-height:1.7;}
            .isc-price-tag{display:inline-block;background:rgba(201,168,76,.3);border:1px solid rgba(201,168,76,.5);color:#f0d080;font-size:.68rem;font-weight:700;padding:.2rem .55rem;border-radius:3px;margin-top:.5rem;}
            .isc-check{list-style:none;padding:0;margin:0 0 1.2rem;}
            .isc-check li{padding:.5rem .8rem .5rem 1.8rem;position:relative;border-bottom:1px dashed #e2e8f0;font-size:.83rem;color:var(--v2-text);line-height:1.7;}
            .isc-check li:last-child{border-bottom:none;}
            .isc-check li::before{content:'✓';position:absolute;left:.4rem;color:var(--v2-green);font-weight:700;}
            .isc-urgent{background:var(--v2-navy);border-radius:10px;padding:1.1rem 1.4rem;display:flex;align-items:center;gap:.9rem;margin-bottom:1.3rem;}
            .isc-urgent__text{color:#fff;font-size:.85rem;line-height:1.7;}
            .isc-urgent__text strong{color:#ffd700;font-size:.95rem;font-weight:800;}
            .isc-note{background:#f5f7fa;border-left:4px solid var(--v2-green);border-radius:0 8px 8px 0;padding:.9rem 1.1rem;font-size:.81rem;color:var(--v2-text);line-height:1.8;}
            .isc-note strong{color:var(--v2-green-dk);}
            .isc-section-label{font-size:.95rem;font-weight:800;color:var(--v2-green-dk);border-left:4px solid var(--v2-gold);padding:.4rem .85rem;background:#fffbf0;margin:1.8rem 0 .9rem;border-radius:0 6px 6px 0;}

/* --- from page-wide-corporate-v2.php --- */
.pt-hero{background:linear-gradient(135deg,var(--v2-green-dk),var(--v2-green-mid));border-radius:12px;padding:1.6rem 1.8rem;color:#fff;margin-bottom:1.6rem;position:relative;overflow:hidden;}
            .pt-hero::before{content:'';position:absolute;right:-20px;bottom:-20px;width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,.05);}
            .pt-hero__badge{display:inline-block;background:rgba(201,168,76,.3);border:1px solid rgba(201,168,76,.5);color:#f0d080;font-size:.68rem;font-weight:700;padding:.22rem .65rem;border-radius:50px;margin-bottom:.7rem;}
            .pt-hero__title{font-size:1.05rem;font-weight:800;margin-bottom:.4rem;}
            .pt-hero__text{font-size:.82rem;color:rgba(255,255,255,.85);line-height:1.8;}
            .pt-compare{width:100%;border-collapse:collapse;margin-bottom:1.4rem;font-size:.81rem;box-shadow:0 2px 12px rgba(0,0,0,.07);}
            .pt-compare th{padding:.65rem .9rem;font-weight:700;font-size:.75rem;letter-spacing:.05em;}
            .pt-compare td{padding:.6rem .9rem;border-bottom:1px solid #e2e8f0;vertical-align:middle;line-height:1.65;word-break:break-word;}
            .pt-compare tr:last-child td{border-bottom:none;}
            .pt-compare__h-label{background:var(--v2-navy);color:#fff;text-align:left;white-space:nowrap;}
            .pt-compare__h-normal{background:#e2e8f0;color:var(--v2-text);text-align:center;}
            .pt-compare__h-yt{background:linear-gradient(135deg,var(--v2-green-dk),var(--v2-green-mid));color:#fff;text-align:center;}
            .pt-compare__label{color:var(--v2-text-sub);font-size:.78rem;background:#fafafa;white-space:nowrap;}
            .pt-compare__normal{text-align:center;color:var(--v2-text-sub);}
            .pt-compare__yt{text-align:center;color:var(--v2-green-dk);font-weight:700;background:#f0faf5;}
            /* スマホ：テーブルを縦積みカードに変換 */
            @media(max-width:640px){
                .pt-compare thead{display:none;}
                .pt-compare,
                .pt-compare tbody,
                .pt-compare tr,
                .pt-compare td{display:block;width:100%;box-sizing:border-box;}
                .pt-compare tr{border:1px solid #e2e8f0;border-radius:8px;margin-bottom:.6rem;overflow:hidden;}
                .pt-compare td{border-bottom:1px solid #f0f0f0;padding:.5rem .8rem;text-align:left!important;}
                .pt-compare td:last-child{border-bottom:none;}
                .pt-compare__label{background:#1a2744!important;color:#ffffff!important;font-weight:700!important;font-size:.85rem!important;padding:.7rem .8rem!important;white-space:normal!important;display:block!important;}
                .pt-compare__normal{color:#111!important;}
                .pt-compare__normal::before{content:"一般：";font-weight:700;color:#555;}
                .pt-compare__yt{background:#f0faf5!important;font-weight:700;color:var(--v2-green-dk)!important;}
                .pt-compare__yt::before{content:"当センター：";font-weight:700;color:var(--v2-green-dk);}
            }
            .pt-services{display:grid;grid-template-columns:1fr 1fr;gap:.85rem;margin-bottom:1.4rem;}
            @media(max-width:640px){.pt-services{grid-template-columns:1fr;}}
            .pt-service{background:#fff;border-radius:10px;padding:1.1rem;border:1px solid #e2e8f0;border-top:3px solid var(--v2-green);transition:transform .25s,box-shadow .25s;}
            .pt-service:hover{transform:translateY(-3px);box-shadow:0 6px 20px rgba(45,122,79,.1);}
            .pt-service__title{font-size:.85rem;font-weight:700;color:var(--v2-green-dk);margin-bottom:.35rem;}
            .pt-service__text{font-size:.77rem;color:var(--v2-text-sub);line-height:1.7;}
            .pt-service__fee{margin-top:.5rem;font-size:.72rem;background:var(--v2-green-lt);color:var(--v2-green-dk);padding:.25rem .55rem;border-radius:4px;display:inline-block;font-weight:700;}
            .pt-steps{display:flex;flex-direction:column;gap:0;margin-bottom:1.4rem;}
            .pt-step{display:grid;grid-template-columns:42px 1fr;gap:.7rem;align-items:start;position:relative;padding-bottom:.85rem;}
            .pt-step:last-child{padding-bottom:0;}
            .pt-step:not(:last-child)::after{content:'';position:absolute;left:20px;top:42px;bottom:0;width:2px;background:linear-gradient(180deg,var(--v2-green),var(--v2-green-lt));}
            .pt-step__num{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,var(--v2-green-dk),var(--v2-green-mid));color:#fff;font-weight:900;font-size:.88rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 3px 10px rgba(45,122,79,.28);z-index:1;position:relative;}
            .pt-step__title{font-size:.86rem;font-weight:700;color:var(--v2-navy);margin-bottom:.18rem;padding-top:.18rem;}
            .pt-step__text{font-size:.77rem;color:var(--v2-text-sub);line-height:1.7;}
            .pt-note{background:#fffbf0;border-left:4px solid var(--v2-gold);border-radius:0 8px 8px 0;padding:.9rem 1.1rem;font-size:.8rem;color:#5a4500;line-height:1.8;}
            .pt-note strong{color:#3a2c00;}
            .pt-section-label{font-size:.95rem;font-weight:800;color:var(--v2-green-dk);border-left:4px solid var(--v2-gold);padding:.4rem .85rem;background:#fffbf0;margin:1.8rem 0 .9rem;border-radius:0 6px 6px 0;}

/* --- from single-car.php --- */
/* 車両詳細 全幅化 - コンテンツエリアのみ対象 */
#contents .l-sidebar,
.l-contents .l-sidebar { display: none !important; }
#contents .l-content__main { width:100% !important; max-width:100% !important; float:none !important; }
#contents .u-row { display:block !important; }
/* タイトル強化 */
.car-single__title {
    border-left: 5px solid #2d7a4f !important;
    padding-left: 1rem !important;
    font-size: clamp(1.3rem, 3vw, 1.9rem) !important;
    font-weight: 900 !important;
    color: #111827 !important;
    line-height: 1.3 !important;
    margin-bottom: .5rem !important;
}
/* 車両詳細ページヘッダー */
.yt-car-single-header {
    background: linear-gradient(135deg, #1e5c3a 0%, #2d7a4f 60%, #1a4a30 100%);
    position: relative;
    overflow: hidden;
    padding: 2.2rem 0 1.8rem;
}
.yt-car-single-header::before {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(255,255,255,.02) 20px, rgba(255,255,255,.02) 40px);
}
.yt-car-single-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #c9a84c, rgba(201,168,76,.2), transparent);
}
.yt-car-single-header__left {
    position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
    background: linear-gradient(180deg, #c9a84c, rgba(201,168,76,.3));
}
.yt-car-single-header__inner {
    position: relative; z-index: 1;
    max-width: 1160px; margin: 0 auto; padding: 0 2rem;
}
@media (max-width: 640px) { .yt-car-single-header__inner { padding: 0 1.2rem; } }
.yt-car-single-header__label {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .68rem; font-weight: 700; letter-spacing: .2em;
    color: #c9a84c; text-transform: uppercase;
    padding: .22rem .8rem;
    border: 1px solid rgba(201,168,76,.35);
    border-radius: 50px;
    background: rgba(201,168,76,.08);
    margin-bottom: .6rem;
}
.yt-car-single-header__title {
    font-size: clamp(1.2rem, 3.5vw, 1.9rem);
    font-weight: 900; color: #fff;
    letter-spacing: .04em; line-height: 1.25;
    text-shadow: 0 2px 12px rgba(0,0,0,.25);
    margin-bottom: .4rem;
}
.yt-car-single-header__sub {
    font-size: .82rem; color: rgba(255,255,255,.7);
    display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
}
.yt-car-single-header__sub-badge {
    display: inline-block;
    padding: .15rem .6rem;
    background: rgba(255,255,255,.12);
    border-radius: 3px;
    font-size: .72rem;
    color: rgba(255,255,255,.85);
}

/* --- from single-car.php --- */
/* スペックサマリーテーブル スマホ縦積み */
        @media (max-width: 640px) {
          .car-tbl--summary { display:block !important; width:100% !important; }
          .car-tbl--summary tbody,
          .car-tbl--summary tr { display:block !important; width:100% !important; }
          .car-tbl--summary tr { margin-bottom:4px !important; border:1px solid #e2e8f0 !important; border-radius:6px !important; overflow:hidden !important; }
          .car-tbl--summary th,
          .car-tbl--summary td { display:block !important; width:100% !important; box-sizing:border-box !important; white-space:normal !important; }
          /* CTAボタン縦積み */
          .car-result-box__cta { flex-direction:column !important; }
          .car-result-box__cta .car-btn { min-width:unset !important; width:100% !important; }
        }

/* --- from archive-car.php --- */
/* 在庫一覧 全幅化 - コンテンツエリアのみ対象 */
#contents .l-sidebar,
#contents + .l-sidebar,
.l-contents .l-sidebar { display: none !important; }
#contents .l-content__main { width:100% !important; max-width:100% !important; float:none !important; }
#contents .u-row { display:block !important; }
/* ヘッダーブロック */
.yt-car-archive-header {
    background: linear-gradient(135deg, #1e5c3a 0%, #2d7a4f 100%);
    position: relative; overflow: hidden; padding: 2.8rem 0 2.2rem; margin-bottom: 0;
}
.yt-car-archive-header::before {
    content:''; position:absolute; inset:0;
    background: repeating-linear-gradient(-45deg,transparent,transparent 20px,rgba(255,255,255,.02) 20px,rgba(255,255,255,.02) 40px);
}
.yt-car-archive-header::after {
    content:''; position:absolute; bottom:0; left:0; right:0; height:4px;
    background: linear-gradient(90deg, #c9a84c, rgba(201,168,76,.2), transparent);
}
.yt-car-archive-header__left {
    position:absolute; left:0; top:0; bottom:0; width:5px;
    background: linear-gradient(180deg, #c9a84c, rgba(201,168,76,.3));
}
.yt-car-archive-header__inner {
    position:relative; z-index:1; max-width:1160px; margin:0 auto; padding:0 2rem;
    display:flex; align-items:flex-end; justify-content:space-between; gap:1rem; flex-wrap:wrap;
}
@media(max-width:640px){.yt-car-archive-header__inner{padding:0 1.2rem;}}
.yt-car-archive-header__en {
    font-size:.68rem; font-weight:700; letter-spacing:.25em;
    color:#c9a84c; text-transform:uppercase;
    display:flex; align-items:center; gap:.5rem; margin-bottom:.45rem;
}
.yt-car-archive-header__en::before { content:''; display:inline-block; width:20px; height:1px; background:#c9a84c; }
.yt-car-archive-header__ja {
    font-size:clamp(1.5rem,4vw,2.2rem); font-weight:900; color:#fff;
    letter-spacing:.04em; line-height:1.2; text-shadow:0 2px 12px rgba(0,0,0,.25);
}
.yt-car-archive-header__count {
    background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2);
    border-radius:8px; padding:.6rem 1.2rem; text-align:center; color:#fff;
    font-size:.78rem; white-space:nowrap; align-self:center;
}
.yt-car-archive-header__count strong {
    display:block; font-size:1.6rem; font-weight:900; color:#c9a84c; line-height:1.1;
}

/* ============================================================
   売買実績カテゴリー 記事一覧カード
   ============================================================ */
.yt-arc-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}
@media (max-width: 640px) {
    .yt-arc-posts { grid-template-columns: 1fr; }
}
.yt-arc-post {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    overflow: hidden;
    transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s;
}
.yt-arc-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.yt-arc-post__inner {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit !important;
    height: 100%;
}
.yt-arc-post__thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #f0f0f0;
}
.yt-arc-post__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
    display: block;
}
.yt-arc-post:hover .yt-arc-post__img {
    transform: scale(1.07);
}
.yt-arc-post__noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: .8rem;
    background: #f5f5f5;
}
.yt-arc-post__body {
    padding: 1rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.yt-arc-post__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .35rem;
    margin-bottom: .6rem;
}
.yt-arc-post__cat {
    display: inline-block;
    background: #2d7a4f;
    color: #fff !important;
    font-size: .68rem;
    font-weight: 700;
    padding: .15rem .6rem;
    border-radius: 3px;
    letter-spacing: .04em;
}
.yt-arc-post__date {
    font-size: .72rem;
    color: #999;
    margin-left: auto;
}
.yt-arc-post__title {
    font-size: .92rem;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.5;
    margin-bottom: .5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.yt-arc-post__excerpt {
    font-size: .78rem;
    color: #718096;
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: .8rem;
}
.yt-arc-post__more {
    font-size: .78rem;
    font-weight: 700;
    color: #2d7a4f;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-top: auto;
}

/* ============================================================
   全幅シンプルページ（law / privacy / contact）
   ============================================================ */
.ywp-content h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e5c3a;
    border-left: 4px solid #2d7a4f;
    padding: .4rem .9rem;
    background: #f0faf5;
    margin: 2rem 0 .8rem;
    border-radius: 0 6px 6px 0;
}
.ywp-content h3 {
    font-size: .92rem;
    font-weight: 700;
    color: #1a2744;
    margin: 1.5rem 0 .5rem;
    padding-bottom: .3rem;
    border-bottom: 1px solid #e2e8f0;
}
.ywp-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: .85rem;
}
.ywp-content table th,
.ywp-content table td {
    padding: .65rem .9rem;
    border: 1px solid #e2e8f0;
    vertical-align: top;
    line-height: 1.7;
}
.ywp-content table th {
    background: #1a2744;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    width: 30%;
}
@media (max-width: 640px) {
    .ywp-content table th { width: auto; white-space: normal; }
}

/* ============================================================
   お問い合わせタブ
   ============================================================ */
.yt-tabs-wrap { max-width: 860px; margin: 0 auto; }
.yt-tabs-nav {
    display: flex;
    gap: 0;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.yt-tabs-btn {
    flex: 1;
    padding: .9rem .5rem;
    font-size: .88rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
    background: #e8f5ee;
    color: #2d7a4f;
    transition: all .25s;
    letter-spacing: .04em;
    border-bottom: 3px solid transparent;
}
.yt-tabs-btn.is-active {
    background: linear-gradient(135deg, #1e5c3a, #2d7a4f);
    color: #fff;
    border-bottom-color: #c9a84c;
}
.yt-tabs-btn:not(.is-active):hover { background: #d4edda; }
.yt-tabs-body {
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    padding: 2rem 2.5rem;
}
@media(max-width:640px){ .yt-tabs-body { padding: 1.4rem 1rem; } }
.yt-tab-panel { display: none; }
.yt-tab-panel.is-active { display: block; }
.yt-tab-panel__lead {
    font-size: .85rem;
    color: #718096;
    margin-bottom: 1.4rem;
    padding: .8rem 1rem;
    background: #f5f7fa;
    border-radius: 8px;
    border-left: 4px solid #2d7a4f;
}
/* CF7 スタイル（タブ内） */
.yt-tabs-wrap .wpcf7-form label { display:block; font-size:.82rem; font-weight:700; color:#2d3748; margin-bottom:.35rem; margin-top:.9rem; }
.yt-tabs-wrap .wpcf7-form input[type="text"],
.yt-tabs-wrap .wpcf7-form input[type="email"],
.yt-tabs-wrap .wpcf7-form input[type="tel"],
.yt-tabs-wrap .wpcf7-form select,
.yt-tabs-wrap .wpcf7-form textarea {
    width:100% !important; box-sizing:border-box !important;
    padding:.3rem .9rem !important; border:1px solid #d1d5db !important;
    border-radius:6px !important; font-size:.88rem !important;
    background:#fafafa !important; transition:border-color .2s, box-shadow .2s !important;
}
.yt-tabs-wrap .wpcf7-form input:focus,
.yt-tabs-wrap .wpcf7-form select:focus,
.yt-tabs-wrap .wpcf7-form textarea:focus {
    outline:none !important; border-color:#2d7a4f !important;
    box-shadow:0 0 0 3px rgba(45,122,79,.12) !important; background:#fff !important;
}
.yt-tabs-wrap .wpcf7-form input[type="submit"] {
    width:100% !important; max-width:400px !important;
    background:linear-gradient(135deg,#1e5c3a,#2d7a4f) !important;
    color:#fff !important; border:none !important;
    padding:1rem 2rem !important; font-size:1rem !important; font-weight:700 !important;
    border-radius:50px !important; cursor:pointer !important;
    box-shadow:0 4px 16px rgba(45,122,79,.35) !important;
    display:block !important; margin:1.5rem auto 0 !important;
    transition:transform .2s, box-shadow .2s !important;
}
.yt-tabs-wrap .wpcf7-form input[type="submit"]:hover {
    transform:translateY(-2px) !important;
    box-shadow:0 8px 24px rgba(45,122,79,.45) !important;
}
.yt-tabs-wrap .wpcf7-response-output {
    margin:1rem 0 !important; padding:.8rem 1.2rem !important;
    border-radius:8px !important; font-size:.85rem !important; border:none !important;
}
.yt-tabs-wrap .wpcf7-mail-sent-ok { background:#e8f5ee !important; color:#1e5c3a !important; }
.yt-tabs-wrap .wpcf7-validation-errors { background:#fff5f5 !important; color:#c53030 !important; }

/* CF7 ハニーポット非表示 */
.yt-honeypot,
.wpcf7-form .yt-honeypot,
.wpcf7-form span:has(.yt-honeypot) {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}
