/********************************************************
  CARTRE.NET
  https://cartre.net
  Author: Koji Okazawa
********************************************************/

/* 管理者バー非表示 */
#wpadminbar {
  display: none !important;
}

html {
  margin-top: 0 !important;
}


/*フローティングメニュー*/
header[data-block-id="header"] {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
}

body {
  padding-top: 130px;
  /* 固定したヘッダーの高さ分の余白を入れる */
}

/*Popup*/
div#popmake-1478 {
  position: absolute;
  top: 70px !important;
}

/*トップテキストシャドウ*/
#main-hero p.lead {
  text-shadow: 1px 1px #000;
}

/*ヘッダボーダー*/
header.bg-white.navbar-light.border-bottom {
  border: 1px solid #f2f2f2;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}

.border-bottom {
  border-bottom: 0 !important;
}

/*callbackタイトル背景*/
nav.page-breadcrumbs.border-bottom {
  background-color: #f2f2f2f2;
}

/*ロゴの大きさ*/
.navbar-brand-light,
.navbar-brand-dark {
  width: 50% !important;
}

/* Forgot password */
form#resetpassform {
  border: 0;
  box-shadow: none;
}

.submit.reset-pass-submit {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

/* トップH2アンダーライン */
.ppt-headline {
  display: inline-block;
}

.ppt-line {
  position: relative;
  display: inline-block;
}

.ppt-line-12 {
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 5px;
  background-color: #FFC300;
  border-radius: 2px;
}

/* Recommend font */
.mb-5.text-700 {
  font-size: 1.5em;
}

/* Title font */
.elementor-140 .elementor-element.elementor-element-01da971,
.elementor-166 .elementor-element.elementor-element-a4d8d0f,
.elementor-260 .elementor-element.elementor-element-0f1c124,
.elementor-218 .elementor-element.elementor-element-6e48bf1,
.elementor-320 .elementor-element.elementor-element-8b588df,
.elementor-260 .elementor-element.elementor-element-b18a999 {
  /*border-bottom: 1px solid #f2f2f2;*/
  padding: 10px 0;
  font-family: 'Poppins';
  background-color: #f2f2f2;
}

/* Head width */
.e-con {
  --container-max-width: 1300px;
}

.e-con.e-con>.e-con-inner>.elementor-widget,
.elementor.elementor .e-con>.elementor-widget {
  /*margin: 0 auto;*/
}

/* テキスト左寄せ→中央寄せ */
body:not(.rtl) .text-sm-left {
  text-align: center !important;
}

/* コンテナ調整 */
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl {
  width: 100%;
  padding-right: 0 !important;
  padding-left: 0 !important;
  margin-right: auto;
  margin-left: auto;
}

/* 見出し調整 */
h2.wp-block-heading {
  font-weight: 500;
  line-height: 1.7;
}

/* カード調整 */
.card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-height: 1px;
  padding: 0 10px;
}

/* 不要スタイル */
element.style {
  font-size: 40px;
  display: none;
}

/* Elementor見出し中央寄せ */
h2.elementor-heading-title {
  text-align: center;
}

/* Smilecodeアイコン非表示 */
span.smilecode.float-right {
  display: none;
}

/* カードロケーション */
.badge.badge-primary.link-light.text-truncate {
  padding: 2px;
  font-size: 12px;
  font-weight: 700;
}

/* カードカテゴリ位置調整 */
.pb-2.mt-2 {
  margin-top: 0 !important;
}

/* 常に比較表（#dislpay_features）を表示 */
#dislpay_features {
  display: block !important;
}

/* Compare Featuresボタンを非表示 */
a[href*="javascript:void(0)"] .btn-light,
a[onclick*="#dislpay_features"] {
  display: none !important;
}

/* infos-headerを非表示 */
.col-lg-12.col-md-12.infos-header.hide-mobile {
  display: none;
}

/* contactリスト調整 */
.contact-list .contact {
  border-bottom: 0 !important;
}

/* 特定ブロックを非表示 */
.bg-light.p-3.p-md-5.rounded-lg.mb-4.position-relative.mt-xl-n3 {
  display: none;
}

/* タイトルマージン */
.ttl_mm {
  margin-top: 10px;
}

/* e-con-innerリセット */
.e-con-inner {
  border: 0 !important;
}

/* FAQカードマージン修正 */
div.ppt-show-hide>div.card-header+div>div.card-body {
  margin: 0 !important;
}

/* menbershipsボタン非表示 */
.justify-content-center .btn-system.btn-rounded-25.btn-md.mobile-mb-4 {
  display: none !important;
}

/* how-it-works調整 */
.card-body.p-md-4,
.card-body.p-6 {
  margin-top: 0 !important;
}

/* 詳細ページFeatures */
.ml-2,
.mx-2 {
  margin-left: .5rem !important;
  font-size: 1.2em;
}

/* カテゴリ非表示 */
nav [data-list-k="category"] {
  display: none !important;
}

/* Viewsアイコン調整 */
li[data-list-k="views_icon"] .badge_tooltip__item {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Viewsバッジ内padding調整 */
[data-list-k="views_icon"] .badge_tooltip__initiator span {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

nav .badge_tooltip.text-center {
  margin-top: 0 !important;
}

/* メーカーモデルリンク */
.ttl_maker a,
.ttl_model a {
  color: #212529;
  text-decoration: none;
  font-size: 20px;
}

.ttl_maker a:hover,
.ttl_model a:hover {
  text-decoration: none;
  color: #212529;
}

/* ナビゲーション下余白削除 */
nav[ppt-nav] {
  margin-bottom: 0 !important;
}

nav[ppt-nav].border-bottom {
  border-bottom: none !important;
}

/* ロケーション */
.listing-location {
  margin-top: 1em;
}

/* make modelブロック */
.car-meta p {
  margin-bottom: 2px;
}

.car-meta .ttl_maker,
.car-meta .ttl_model {
  display: inline-block;
  margin-right: 8px;
}

/* ライトボックス調整 */
.ekko-lightbox .modal-content {
  border: none;
  box-shadow: none;
  background: transparent;
  margin: 0;
}

/* View調整 */
.badge_tooltip__initiator {
  font-size: 14px;
}

.modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 0 !important;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 0 !important;
  pointer-events: none;
}

/* 固定ページタイトル枠なし */
.elementor-element-dd533e5 .elementor-heading-title {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* ロゴパディング */
logo-lg-custom-padding {
  padding-top: 1.5em !important;
  padding-bottom: 1.5em !important;
}

/* プライバシーポリシータイトル */
h1.text-center.text-sm-left.h3.mb-0.pb-0 {
  font-weight: 700;
  font-size: 32px;
}

body.page-id-3 .container.py-4 {
  position: relative;
}

main#page-content-wrapper .container.py-4>h1.text-center.text-sm-left.h3.mb-0.pb-0 {
  margin-top: -24px !important;
  margin-bottom: -24px !important;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
  font-weight: 700 !important;
}


/* T&C PP */
section[data-ppt-blockid="text150"] {
  display: none;
}

/* リスト調整 */
ul,
ol.wp-block-list {
  padding-left: 2em;
  list-style: decimal;
  margin: 0;
  line-height: 2;
  padding-bottom: 32px;
}

/* Feature追加フォームと投稿フィールドタイトル位置調整 */
#ppt-add-listing-form label {
  font-size: 16px;
  margin-bottom: 5px !important;
}

#ppt-add-listing-form label.custom-control {
  font-weight: normal !important;
}

/* マップ関連非表示 */
.data-map-country-wrap,
.data-map-city-wrap,
.data-map-zip-wrap,
.map-blankbox {
  display: none !important;
}

/* Callbackカード */
.card-popup-content,
.ppt-shape-curve {
  background: #FFC300 !important;
  padding: 2rem 1rem;
  text-align: center;
  min-height: unset;
}

/* Add City非表示 */
.card-add-block .card-body #subcategory_list {
  display: none !important;
}

/* Upgrade Box */
.card-body.text-center.position-relative {
  margin: 0;
}

/* Add Listing input margin */
input[name="custom[city]"] {
  margin-top: 10px !important;
}

/* フォームコントロールスタイル */
.ppt-forms.style3 .form-control {
  background-clip: padding-box;
  border-radius: 0.25rem;
  box-shadow: inset 0 1px 2px 0 rgb(66 71 112 / 12%);
  background-color: #fafafb;
  margin-top: 10px;
}


/* ボタンアニメーションホバー解除 */
[data-ppt-btn]:not(.btn-system, .btn-num):hover::before {
  transform: none !important;
  transition: none !important;
}

[data-ppt-btn]::before {
  display: none !important;
}

/* メンバーシップボタン */
.button-new,
.button-featured,
.button-video {
  background-color: #0379e7 !important;
}

#membership_table_compare {
  margin: 0 auto !important;
  /*max-width: 1000px !important;*/
}

:is(.elementor-section-wrap, [data-elementor-id])>.e-con {
  --margin-left: auto;
  --margin-right: auto;
  max-width: min(100%, var(--width));
  margin-bottom: 60px;
}

.copyright.opacity-8.lh-30 {
  font-size: 12px;
  /*text-align: center;*/
}

/* featureバッジ襟 */
.button-featured:after {
  border-left: 5px solid #ff9c00 !important;
}

/* 投稿画面3番目広告非表示 */
/* ブログリスト内の画像の高さを統一 */
.card-blog-post .col-3 {
  height: 250px;
  overflow: hidden;
}

.card-blog-post .col-3 img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* 画像がレスポンシブでも高さが維持されるように */
.card-blog-post img.img-fluid {
  height: 100%;
  object-fit: cover;
}

/* ppページ文字間 */
.container.py-4 p {
  margin-bottom: 32px;
}

/* callbackレイアウト */
body:not(.rtl) .text-center {
  text-align: center;
  /*margin-top: 21px;*/
}

/* ボタンフォント色 */
[data-ppt-btn].btn-primary {
  color: #212529 !important;
}

.price-table-style-10 .primary-button {
  color: #212529 !important;
}

.btn-primary,
.btn-primary:hover {
  color: #212529 !important;
  background-color: #FFC300 !important;
  border-color: #FFC300 !important;
}

.badge-primary {
  color: #212529 !important;
}

[data-ppt-btn].btn-warning {
  background: #fac106;
  color: #212529 !important;
  font-size: 14px;
}

/*トップViewボタン*/
.container .justify-content-center a.btn-system {
  background-color: #ffc300 !important
}

/* ダッシュボード */
.ppt-notify-window {
  min-height: 440px;
  max-height: 670px !important;
}

/*タイプボタンボタンセンター*/
/* 特定の親要素のクラスに強いセレクタを使って中央に配置 */
.card-footer-nav.d-flex {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/*about us 数字非表示*/
.row.counter-wrapper.gy-6 {
  display: none;
}

/*ニュースレター非表示*/
.footer-txt-dark .row>div:last-child {
  display: none;
}

/*コピーライト*/
.footer-txt-dark .container .row .col-md-6 {
  -ms-flex: 0 0 50% !important;
  flex: none !important;
  max-width: 100% !important;
  text-align: center !important;
}

/* チェックボックs */
.custom-control-label {
  position: relative !important;
  padding-left: 10px !important;
  line-height: 22px !important;
  display: inline-block !important;
}

/* チェックボックスの枠 */
.custom-control-label::before {
  content: "" !important;
  position: absolute !important;
  top: 0;
  left: 0;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid #ccc !important;
  background-color: #fff !important;
  border-radius: 4px !important;
  box-sizing: border-box;
}

/* チェックされたときの枠色・背景色 */
.custom-control-input:checked~.custom-control-label::before {
  background-color: #007bff !important;
  border-color: #007bff !important;
}

/* チェックマークの位置・色 */
.custom-control-label::after {
  content: "" !important;
  position: absolute !important;
  top: 0;
  left: 0;
  width: 20px !important;
  height: 20px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 16px !important;
  color: white !important;
  pointer-events: none;
}

/* ✔マーク表示 */
.custom-control-input:checked~.custom-control-label::after {
  content: "✔" !important;
  background-image:none !important;
}

/* ボックスシャドウ */
.custom-control-label::before {
  background-clip: padding-box !important;
  border-radius: 0.25rem !important;
  box-shadow: inset 0 1px 2px 0 rgba(66, 71, 112, 0.12) !important;
  background-color: #fafafb !important;
  border: 1px solid #ced4da !important;
}

/* Contactページ専用：チェックボックスを左寄せに */
body.page-id-13 .custom-control {
  text-align: left !important;
  justify-content: flex-start !important;
  display: flex !important;
  align-items: center !important;
}

body.page-id-13 .custom-control-label {
  margin-left: 8px !important;
}

/* 投稿詳細ページ動画800 600*/
.ppt-modal-item.w-500 {
  max-width: 800px !important;
  width: 100% !important;
}

.ppt-modal-item {
  width: 100% !important;
  max-width: 800px !important;
}

.mejs__container,
.mejs__container video {
  width: 800px !important;
  height: 600px !important;
  max-width: 800px !important;
  max-height: 600px !important;
  margin: 0 auto;
}

/*PC用　Video幅500解除
.ppt-modal-item {
    width: 800px !important;
	max-width:800px !important;
  }
  .mejs__container {
    width: 800px !important;
	max-width;800px !important  }
  video {
    width: 800px !important;
	max-width;800px: !important
  }
*/

/* PC用詳細ページ動画アイキャッチ */
.ppt-lazy-img-8888 {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/*空の通貨非表示*/
.dropdown-menu .dropdown-item:last-child {
  display: none !important;
}

/*マイアカウントロゴ70%*/
.logo img {
  width: 70% !important;
}

/*国旗フェードイン*/
.gt_switcher_wrapper {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gt_switcher_wrapper.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gt_switcher_wrapper.visible {
  opacity: 1;
  visibility: visible;
}

/*SNSボタン位置調整*/
.addtoany_content {
  clear: both;
  margin: 16px auto;
  text-align: right;
}

/*ブログトップ画像*/
img.card-img-top.img-fluid {
  display: block;
  height: 600px;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 0.25rem;
}

/*右カラム枠取る
.mb-4.rounded.card.blog-recent {
    border: 0 !important;
}*/

/*ページネーションセンター*/
.my-4.pt-3.mobile-mb-4.mobile-pb-4 {
  display: flex;
  justify-content: center;
}

/*投稿type選択ボタンセンター*/
#sub_submobile_category_list .btn-primary.btn-close {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: fit-content !important;
}

/*Video高さ500解除
  .mejs__container,
  .ppt-modal-item {
    height: auto !important;
    max-height: 100vh !important;
  }
  video {
    height: auto !important;
    max-height: 100vh !important;
  }*/

/*メンバーシップテーブル*/
._header.hide-mobile {
  display: block !important;
  text-align: center;
}

#membership_table_compare ._value {
  width: 100%;
  text-align: center;
  border-top: 1px solid #fafafb;
  padding: 5px !important;
}

.button-featured.bg-primary {
  color: #2f2f2f;
}

/*About Usボーダー取る*/
section.border-top.section-top-60.ppt-block-text {
  border: 0;
}

/*メンバーシップボタンホバーなし*/
a.primary-button:hover {
  background-color: #FFC300 !important;/ color: #fff !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

/*カレンシー左にドロップダウン*/
/* 通常の位置を上書き */
.dropdown.hasTrigger .dropdown-menu {
  left: auto !important;
  right: 100% !important;
  /* 親要素の左側にくっつく */
  top: -10px !important;
  /* ボタンの下に表示（必要に応じて調整） */
}

/*編集ボタン削除*/
a.single-page-edit-button.single-page-edit-button-bg {
  display: none;
}

/*検索ページUPDATEボタンセンター寄せ*/
button.btn-primary {
  display: block;
  margin: 0 auto;
}

/*検索ページポップアップ文字間調整*/
.d-flex.justify-content-between {
  gap: 1rem;
  /* スペース調整用 */
}

/*検索ページCountry　ボタン位置調整*/
.ppt-scrolltax_country>div[style] {
  max-height: none !important;
}

.ppt-scrolltax_country>div>div[style] {
  min-height: 0 !important;
}

/*検索ページ　年式　横スクロール問題*/
.ppt-scrollyear .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/*検索ポップアップ内部*/
.ppt-modal-item .filter-tax_listing,
/*.ppt-modal-item .filter-keyword,*/
/*.ppt-modal-item .form-control.fs-5.mb-3,*/
.ppt-modal-item .filter-year,
.ppt-modal-item .filter-tax_country,
.ppt-modal-item .filter-tax_condition,
.ppt-modal-item .filter-tax_fuel,
.ppt-modal-item .filter-tax_exterior,
.ppt-modal-item .filter-tax_body,
.ppt-modal-item .filter-tax_interior,
.ppt-modal-item .filter-tax_doors,
.ppt-modal-item .filter-tax_seller,
.ppt-modal-item .filter-tax_feature,
.ppt-modal-item .filter-tax_engine,
.ppt-modal-item .filter-tax_drive,
.ppt-modal-item .filter-tax_owners,
.ppt-modal-item .filter-date_added,
.ppt-modal-item .filter-price,
.ppt-modal-item .filter-tax_city,
.ppt-modal-item .filter-tax_locaction {
  padding: 30px !important;
}

}

/*国セレクト*/
html body select,
html body select option {
  font-size: 16px !important;
  line-height: 1.5 !important;
  height: auto !important;
}

/*ライトボック < >*/
.ekko-lightbox-nav-overlay a span {
  padding: 0 20px !important;
}

/*メンバーシップテーブル非表示*/
.comparebox {
  display: none;
}

/*タイプ削除*/
.cardbox[data-key="motorcycle"],
.cardbox[data-key="bicycle"],
.cardbox[data-key="parts"] {
  display: none !important;
}

/*✔の色*/
.fa.fa-check.mr-2 {
  color: #ffc300;
}

/*contact*/
section.border-top.section-100.ppt-block-text {
  border-top: none !important;
}

/*edit歯車*/
.fa.fa-cog.fa-spin {
  color: #fff !important;
}


/* 初期メンバーシップ✔ */
i.fa.fa-check.mx-2 {
  color: #ffc300;
}

/*FAQアコーディオン＋*/
.card-header {
  position: relative;
  cursor: pointer;
  padding-right: 30px;
  /* アイコン分の余白 */
}

.card-header::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease, content 0.3s ease;
}

/* アクティブ状態のとき「×」に切り替える */
.card-header.active::after {
  content: "×";
}

i.fal.fa-search {
  font-weight: 700;
}

/*ブログサーチアイコン*/
.card-blog .card-body form .position-relative>button.btn.iconbit {
  position: absolute;
  top: 5px !important;
  right: 2px !important;
  font-size: 18px !important;
}

/* 価格背景*/
[ppt-box] ._footer.small {
  background-color: #eeeeee7a !important;
}

/*マイページ余白*/
._content.p-lg-5.p-3 {
  padding: 10px 20px !important;
}

/*検索結果*/
.text-center.small.opacity-5.mt-n4.tiny.text-uppercase {
  font-size: 16px !important;
  margin-bottom: 16px;
}

/*ブログ右カラム見出し*/
.card-header.bg-primary.text-light.text-600 {
  color: #000 !important;
}

/*ホバー吹き出しなくす*/
.badge_tooltip__item {
  display: none !important;
}

/*メンバーシップタイトルマージン*/
h1.fs-lg.text-700.text-center {
  margin-top: 40px;
}

.mt-4.text-center {
  margin-bottom: 20px;
}

/*すべてのメーカーとモデルリスト*/
p.mt-2.opacity-5 {
  font-size: 24px;
}

/*検索ページ価格更新ボタン*/
button.btn-primary.mt-3.btn-block {
  max-width: 100px;
}

/*価格スライダー消す*/
span.irs.js-irs-0 {
  display: none;
}

/********* 検索ページポップアップ **********/
/*車種*/
.modal-filtertax_listing .btn-primary[type="button"] {
  margin-top: 40px !important;
}

.modal-filtertax_listing .p-2 {
  padding: 0 !important;
}

/*キーワード*/
.modal-filterkeyword input#keyword {
  font-size: 18px;
}

.position-relative.filter-keyword {
  padding: 30px 15px;
}

/*サーチアイコン調整*/
div.card-popup .btn.iconbit {
  position: absolute;
  top: 30px !important;
  right: 20px !important;
  font-size: 18px;
}

/*国*/
.modal-filtertax_country .btn-primary[type="button"] {
  margin-top: 40px !important;
}

.modal-filtertax_country .filter-tax_country>div {
  margin-top: 20px;
}

/*トランスミッション*/
.modal-filtertax_transmission .card-popup-content {
  margin-bottom: 20px !important;
}

/*価格*/
/* モーダル内のスクロールを制御 */
.ppt-scrollprice {
  overflow-x: hidden !important;
}

/* .container の横はみ出し対策 */
.modal-filterprice .container {
  max-width: 100%;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
  margin: 0;
}

/* Bootstrapのrowによるマイナスマージン防止 */
.modal-filterprice .row {
  margin-left: 0;
  margin-right: 0;
}

/*年*/
.modal-filteryear label.small.text-muted {
  font-size: 16px;
  color: #000 !important;
  font-weight: 700:
}

/*ボディ*/
.modal-filtertax_body .ppt-scrolltax_body>div[style*="max-height"] {
  max-height: none !important;
}

/*トランスミッション*/
d-body.pt-0.filter-tax_transmission {
  padding-top: 10px !important;
}

/*検索ページ▼*/
.card-filter .card-title:before {
    top: 20px !important;
}

/*メッセージボタン*/
a.btn-system.btn-block.btn-lg.mb-2[data-ppt-btn] {
  background-color: #ffc300 !important;
  color: #000 !important;
  border: none !important;
}


/***************** 終わり **********************/

/*検索ページ検索ボタン位置調整*/
button.btn-primary.mt-2.btn-block {
    max-width: 100px;
}
/*button.btn-primary.mt-3 {
    width: 100px !important;
}*/
.filter-content .form-control,
.filter-content button {
  margin-bottom: 20px !important;
}
.card-filter.filter-year .form-control,
.card-filter.filter-year button {
  margin-bottom: -5px !important;
}
/*車種選択フォントサイズ*/
select#parent_category_list, select#category_subs {
    font-size: 16px !important;
}
/*アップローダーXボタン非表示*/
i.fa.fa-times.float-right.p-3 {
    display: none;
}
/*通知バーPC*/
notify-footer .chat-handle {
    background: #ffc300 !important;
}
/*投稿サムネ枠線取る*/
.bg-light.p-1.rounded.border.mb-4.shadow-sm {
    border: none;
}
/*.btn.btn-system.btn-sm.btn-block.m-0 {
    border: 0 !important;
}*/
.btn.btn-system.btn-sm.btn-block {
    border: 0 !important;
}

/*マイページメールフィールド位置調整*/
#mobilenum-input {
	margin-top:10px!important;
}
/*マイページフラッグ背景色白*/
.iti .iti__flag-container .iti__selected-flag,
.iti .iti__flag-container .iti__selected-flag:hover {
    background-color: #fff !important;
}

/*サインアップページのみ*/
@media (min-width: 768px) {
  main#page-content-wrapper {
    padding: 0 !important;
  }
}

/*アップロードファイルソートアップロードされた順*/
ul.uploaded-list {
  display: flex !important;
  flex-direction: column !important; /* ✅ 正しい順に表示される */
}

/*カードトランスフォーム*/
@media (min-width: 768px) {
  .hide-mobile.rounded.shadow-hover-lg.mb-4._sfavs {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .hide-mobile.rounded.shadow-hover-lg.mb-4._sfavs:hover {
    transform: scale(1.1);
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }
}


/***********************************************
              モバイル用スタイル 
***********************************************/

@media screen and (max-width: 767px) {

  html,
  body {
    margin: 0;
    padding: 0;
  }

  header,
  main,
  footer {
    padding: 0 10px;
  }

  header.bg-white.navbar-light.border-bottom {
    padding: 0 10px !important;
  }

  /*ロゴの大きさ*/
  .navbar-brand-light,
  .navbar-brand-dark {
    width: 70% !important;
  }

  /* トップ hero ボタン位置調整 */
  .mt-5.d-flex.h1buttonbox.mobile-mb-4 {
    margin: 50px 0 -10px 0 !important;
  }

  .hero1 {
    margin: 0 -10px;
    width: calc(100% + 20px);
    overflow: hidden;
    position: relative;
    padding: 0 !important;
  }

  .hero1>.container {
    padding: 0 10px !important;
    margin: 0 auto;
    max-width: 100%;
  }

  .hero1::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(https://cartre.net/wp-content/uploads/2025/04/top_03.jpg);
    background-size: cover;
    background-position: center;
    z-index: 0;
  }

  ul,
  ol.wp-block-list {
    margin: 0;
    padding-left: 2em;
    list-style: decimal;
    line-height: 1.7;
    padding-bottom: 0 !important;
    margin-bottom: 32px;
  }

  body {
    padding-top: 80px;
  }

  /* スマホカードレイアウト */
  .row {
    margin: 0;
    padding: 0;
  }

  .row>.col-6 {
    padding: 0 5px;
    margin-bottom: 10px !important;
    width: 50% !important;
    box-sizing: border-box;
  }

  .row>.col-6>div {
    width: 100%;
  }

  .row>.col-6 ._content,
  .row>.col-6 ._footer {
    padding: 0;
  }

  .row>.col-6 .fs-6.text-600.py-2.pt-3 a._adtitle,
  .show-mobile .fs-14.text-600 {
    text-align: left;
    width: 100%;
    box-sizing: border-box;
  }

  .show-mobile .fs-14.text-600 {
    font-size: 16px !important;
    padding-left: 0 !important;
    margin-left: 10px;
  }

  .row>.col-6 .ppt-price-set,
  .row>.col-6 .text-truncate {
    padding: 0 10px;
    text-align: left;
    box-sizing: border-box;
  }

  /* メーカー名とロケーションバッジ調整 */
  .show-mobile div.position-relative div.d-flex.align-items-center.gap-2.mt-2.flex-wrap {
    margin-top: 2px !important;
  }

  /* Make（左） */
  .d-flex.align-items-center.gap-2.mt-2.flex-wrap>span.text-dark.fw-bold {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    flex: 1 1 auto;
    margin-left: 10px;
  }

  /* Country（右） — 常に右寄せ固定 */
  .d-flex.align-items-center.gap-2.mt-2.flex-wrap>.badge {
    background-color: #ffc107 !important;
    color: #212529 !important;
    font-size: 12px;
    padding: 3px !important;
    border-radius: 3px !important;
    margin-right: 8px !important;
    margin-left: auto;
    white-space: nowrap;
    font-weight: 700;
  }

  /* バッジ */
  .badge-new,
  .badge-featured {
    display: inline-block !important;
    font-size: 12px;
    padding: 5px 10px;
    background: #FFC107;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
  }

  /* プロフィールカード調整 */
  .show-mobile .position-relative.mb-3 .card-price-view,
  .show-mobile .position-relative.mb-3 .card-country,
  .show-mobile .position-relative.mb-3 .ppt-price,
  .d-flex.align-items-center span.text-dark.fw-bold {
    /*padding: 0 10px !important;*/
  }

  /* メンバーシップ権限制限 */
  .card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
  }

  /* プロフィール内パディング */
  .card>.card-body {
    padding: 20px !important;
  }

  /* ナンバーボックス Step1234 */
  .number-box {
    width: 60px;
    height: 60px;
    font-size: 22px;
    display: inline-block;
    margin-right: 16px !important;
    border-radius: 100%;
    text-align: center;
    line-height: 60px;
    font-weight: 600;
    color: #fff;
    z-index: 2;
    position: relative;
  }

  /* Recommendの下マージン調整 */
  .section-60.border-top.pb-4.pb-sm-0.mb-4.mb-sm-0.mobile-mb-6 {
    margin-bottom: 0 !important;
  }

  /* 詳細ページ Dec の下 */
  .col-lg-5.col-xl-4 {
    margin-bottom: 40px !important;
  }

  /* Popup Notice 表示調整 */
  .d-md-flex.justift-content-between>.pr-lg-5.w-100>.d-flex+.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  /* メンバーシップセクション全体幅調整 */
  :is(.elementor-section-wrap, [data-elementor-id])>.e-con {
    --margin-left: auto;
    --margin-right: auto;
    max-width: min(100%, var(--width));
    margin-bottom: 60px;
  }

  /* フッター内カラムを1カラム化（モバイル対応） */
  .footer-txt-dark .container .row>.col-md-6 {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Callback 広告申し込み完了 */
  /*フッタマージン*/
  .col-md-4.text-center.text-md-left.logo-lg {
    margin-top: 0 !important;
  }

  /*メンバーシップチェック*/
  .container .show-mobile .p-3 .row .scol-12.small.my-3 {
    margin: 0 auto !important;
    /*padding-left: 80px !important;*/
    margin-top: 10px !important;
    margin-bottom: 20px !important;
    line-height: 1.8;
  }

  /*メンバーシップボトム*/
  .elementor-element.elementor-element-ea91655.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded {
    margin-bottom: 0 !important;
  }

  /*投稿ポップアップボタンセンター*/
  body div.card-footer-nav.d-flex>button.btn.btn-primary.btn-close.hide-mobile {
    margin: 0 auto !important;
    display: block !important;
  }

  /* モバイル投稿カード：画像ブロック */
  figure {
    position: relative !important;
    display: block !important;
    min-height: 190px !important;
    width: 100% !important;
    overflow: visible !important;
    /* NEWバッジが外にはみ出すため */
  }

  /* FEATUREDバッジ */
  .button-featured {
    position: absolute !important;
    top: 12px !important;
    right: -5px !important;
    background-color: #fac300 !important;
    color: #212529 !important;
    font-weight: bold !important;
    font-size: 12px !important;
    padding: 8px 10px !important;
    display: inline-block !important;
    white-space: nowrap !important;
    border-radius: 5px 0 0 5px !important;
    z-index: 10 !important;
  }

  .button-featured:after {
    border-left: 0 !important;
  }

  /* NEWバッジ（SP専用） */
  .sp-button-new {
    position: absolute !important;
    top: 10px !important;
    /* FEATUREDがない場合の位置 */
    right: 0px !important;
    background-color: #0379e7 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: bold !important;
    padding: 5px 10px !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    white-space: nowrap !important;
    border-radius: 5px 0 0 5px !important;
    z-index: 10 !important;
  }

  .sp-button-new:after {
    border-left: 0 !important;
  }

  /* FEATUREDがあるときはNEWを下にずらす */
  .sp-button-new.has-featured {
    top: 50px !important;
  }

  /* ブログカード画像の横幅を200pxに設定 */
  .card-blog-post .col-3 img {
    width: 200px;
    object-fit: cover;
    margin-bottom: 0;
  }

  /* ブログカードの下部余白を削除 */
  .card-blog-post {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  /* 画像の親要素の下部余白を削除 */
  .card-blog-post .col-3 {
    padding-bottom: 0;
  }

  .card-blog-post .col-3 {
    height: 100px;
    overflow: hidden;
    padding-right: 0;
  }

  /* col p-lg-4 の左右の余白を強制的に変更 */
  .card-blog-post .row .col.p-lg-4 {
    padding-right: 0px !important;
    padding-left: 15px !important;
  }

  /* .text-muted クラスに強いセレクタを適用 */
  .card-blog-post .text-muted {
    color: #6c757d !important;
    margin-right: 20px !important;
  }

  .card-mobile-transparent .card-body {
    padding: 0 10px !important;
  }

  /* .投稿ページ余白0 */
  div.card.card-add-block>div.card-body {
    padding: 10px !important;
  }

  /*投稿ページ車種選択画面ボタンセンター*/
  .btn-primary.btn-close {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .copyright.opacity-8.lh-30 {
    font-size: 12px;
    text-align: center !important;
  }

  /*about us 数字非表示*/
  .row.counter-wrapper.gy-6 {
    display: none;
  }

  /*SPモーダル追加クラス*/
  .mejs__container,
  .mejs__container video {
    width: 100% !important;
    height: 600px !important;
    max-width: 800px !important;
    max-height: 600px !important;
  }

  /*ロゴ
	.container .row .col-md-4 {
        width: 70% !important;
        max-width: 70%;
    }*/

  /*cooutinuボタン位置*/
  .card-footer-nav {
    position: initial !important;
    bottom: 260px !important;
    width: 100%;
  }

  /* プレイヤー幅制御 */
  .mejs__container,
  .mejs__container video {
    width: 100% !important;
    height: 600px !important;
    max-width: 100% !important;
    max-height: 600px !important;
    margin: 0 auto;
  }

  /*コピーライト非表示*/
  section[data-ppt-blockid="footer1"]>div.footer-txt-dark.py-3 {
    display: none !important;
  }

  /*メンバーシップセンター寄せ*/
  .col-12.col-md-8 {
    text-align: center;
  }

  /*スマホだけ cover に戻す*/
  .ppt-lazy-img-8888 {
    background-size: cover;
  }

  /*全NEWマーク取る*/
  .button-new {
    display: none !important;
  }

  /* フッターマージン */
  section[data-ppt-blockid="footer1"] .container.py-4.pt-5 {
    padding: 36px 0 0 0 !important;
  }

  /*サインアップボタン*/
  button.mt-5.btn-primary.overflow-hidden {
    width: 100%;
  }

  /*サインアップページパディング
	main#page-content-wrapper {
    padding: 0 40px;
	}*/

  /*サイドメニュー*/
  .text-600.border-bottom.mb-2.pb-2.fs-sm.text-uppsercase.mt-4 {
    display: none;
  }

  .text-600.border-bottom.mb-2.pb-2.fs-sm.text-uppsercase {
    display: none;
  }

  /*ポップアップの高さ変更
	.ppt-modal-wrap:not(.modal-bottom-right) .ppt-modal-container {
        height: 90vh !important;
    }*/

  /*ブログアイキャッチ*/
  img.card-img-top.img-fluid {
    display: block;
    height: 300px;
    object-fit: cover;
    margin: 0 auto;
    border-radius: 0.25rem;
  }

  /*about us 画像前*/
  img.img-fluid.mobile-mt-4.lazy.ppt-lazy {
    margin-top: 0;
  }

  /*サインアップ　サインイン上部余白*/
  .container.pt-4 {
    padding-top: 2rem !important;
  }

  /*Boost Me*/
  .btn-primary.show-mobile.mb-2.btn-block .d-flex {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /*マイページ内クルマリスト*/
  .pagination .page-item {
    display: none;
    /* 一旦すべて非表示 */
  }

  /* 左右矢印（最初と最後）は表示 */
  .pagination .page-item:first-child,
  .pagination .page-item:last-child {
    display: inline-block;
  }

  /* その間の4つだけ表示（2〜5番目）*/
  .pagination .page-item:nth-child(2),
  .pagination .page-item:nth-child(3),
  .pagination .page-item:nth-child(4),
  .pagination .page-item:nth-child(5) {
    display: inline-block;
  }

  /*車種選択不要ボタン削除*/
  button.btn-primary.btn-close.hide-mobile.btn-close {
    display: none !important;
  }

  button.btn-system {
    display: none;
  }

  /*トップVeiw*/
  .fs-sm.text-dark.link-dark.text-truncate {
    font-weight: 500;
  }

  /*マイページメンバーシップ*/
  .scol-12.small.my-3 {
    margin: 0 auto;
  }

  /*SOLDバッジ*/
  .button-featured-new {
    position: absolute !important;
    bottom: 68px !important;
    left: 10px !important;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: auto;
    min-width: 55px;
    text-align: center;
    margin: 0px 20px 4px !important;
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    color: #fff;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: #f50e16;
  }

  .button-featured-new:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    bottom: -5px;
    left: 1px;
    border-bottom: 5px solid transparent;
    border-right: none !important;
  }

  /*詳細ページメイン画像*/
  #mobileGallery .img-main .bg-image {
    background-size: cover !important;
    background-repeat: no-repeat;
  }

  /*メンバーシップタイトルマージン*/
  h1.fs-lg.text-700.text-center {
    margin-top: 20px;
  }

  .mt-4.text-center {
    margin-bottom: 20px;
  }

  /*検索キーワード*/
  .position-relative.filter-keyword {
    padding: 0;
  }
/*検索ボタン100px*/
	button.btn-primary.mt-2.btn-block {
    max-width: 100px;
}

}

/*SPサイドメニュー*/
div#sidebar-wrapper {
  background-color: #000 !important;
  z-index: 9999 !important;
}

#wrapper.toggled:not(.toggled-slim) .container {
  margin-left: 0 !important;
}

#sidebar-wrapper {
  position: fixed;
  top: 80px;
  /* ヘッダーの高さに応じて調整（例：60px） */
  height: calc(100% - 60px);
  z-index: 1040;
}

/*SPメニューフォント*/
.suha-footer-nav ul li a {
  font-weight: 500 !important;
}

.nav-icon li {
  font-size: 18px;
  margin: 10px 0;
}

/*************** モバイル用終わり *****************/


/****************************************************
					GTranslate
****************************************************/
/* GTranslate 共通スタイル */
@media screen and (min-width: 768px) {
.gt_switcher_wrapper {
  position: fixed;
  background-color: white;
  z-index: 1000 !important;
  top: 2px !important;
  left: 60px !important;
}
}

/* 国旗アイコンのスタイル*/
a.glink.nturl.notranslate {
  margin: 0 5px !important;
}

/* スマホ（〜767px） */
@media screen and (max-width: 767px) {
  .gt_switcher_wrapper {
    top: 24px !important;
    left: 198px !important;
    padding: 0 !important;
  }
}


/*************** GTranslate用終わり ******************/


/****************************************************
				makers & models
****************************************************/

/* モバイル対応 */
@media (max-width: 767px) {
  .col-4 {
    width: 50% !important;
    padding: 0.5rem !important;
  }

  .toppart .card {
    margin-bottom: 1rem !important;
  }

  .toppart img {
    width: 100px !important;
    height: 100px !important;
  }

  .icon-text {
    font-size: 0.85rem !important;
  }

  /* カードのスタイル */
  .toppart .card {
    border: none !important;
    background-color: transparent !important;
    transition: transform 0.3s !important;
  }

  /* テキストの中央寄せ */
  .icon-text {
    text-align: center !important;
  }

  /*はみ出し折り返し*/
  .tablist {
    flex-wrap: wrap;
    gap: 8px;
    /* タブ間の隙間 */
  }

  .tablist .tab {
    flex: 0 0 auto;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
  }

  /*セレクト*/
  select.form-control.show-mobile {
    margin-top: 20px;
  }

  /*モデル名padding*/
  .category-wrap.category-14068 .row.mt-4,
  .category-wrap.category-14075 .row.mt-4,
  .category-wrap.category-14104 .row.mt-4,
  .category-wrap.category-14110 .row.mt-4,
  .category-wrap.category-14119 .row.mt-4,
  .category-wrap.category-14139 .row.mt-4,
  .category-wrap.category-14221 .row.mt-4,
  .category-wrap.category-14225 .row.mt-4,
  .category-wrap.category-14228 .row.mt-4,
  .category-wrap.category-14237 .row.mt-4,
  .category-wrap.category-14240 .row.mt-4,
  .category-wrap.category-14301 .row.mt-4,
  .category-wrap.category-14310 .row.mt-4,
  .category-wrap.category-14339 .row.mt-4,
  .category-wrap.category-14348 .row.mt-4,
  .category-wrap.category-14392 .row.mt-4,
  .category-wrap.category-14419 .row.mt-4,
  .category-wrap.category-14452 .row.mt-4,
  .category-wrap.category-14517 .row.mt-4,
  .category-wrap.category-14519 .row.mt-4,
  .category-wrap.category-14521 .row.mt-4,
  .category-wrap.category-14523 .row.mt-4,
  .category-wrap.category-14539 .row.mt-4,
  .category-wrap.category-14544 .row.mt-4,
  .category-wrap.category-14599 .row.mt-4,
  .category-wrap.category-14629 .row.mt-4,
  .category-wrap.category-14667 .row.mt-4,
  .category-wrap.category-14685 .row.mt-4,
  .category-wrap.category-14702 .row.mt-4,
  .category-wrap.category-14820 .row.mt-4,
  .category-wrap.category-14825 .row.mt-4,
  .category-wrap.category-14830 .row.mt-4,
  .category-wrap.category-14842 .row.mt-4,
  .category-wrap.category-14873 .row.mt-4,
  .category-wrap.category-14892 .row.mt-4,
  .category-wrap.category-14893 .row.mt-4,
  .category-wrap.category-14906 .row.mt-4,
  .category-wrap.category-14914 .row.mt-4,
  .category-wrap.category-14933 .row.mt-4,
  .category-wrap.category-14970 .row.mt-4,
  .category-wrap.category-14984 .row.mt-4,
  .category-wrap.category-14996 .row.mt-4,
  .category-wrap.category-14998 .row.mt-4,
  .category-wrap.category-15016 .row.mt-4,
  .category-wrap.category-15018 .row.mt-4,
  .category-wrap.category-15120 .row.mt-4,
  .category-wrap.category-15127 .row.mt-4,
  .category-wrap.category-15170 .row.mt-4,
  .category-wrap.category-15175 .row.mt-4,
  .category-wrap.category-15182 .row.mt-4,
  .category-wrap.category-15278 .row.mt-4,
  .category-wrap.category-15299 .row.mt-4,
  .category-wrap.category-15301 .row.mt-4,
  .category-wrap.category-15307 .row.mt-4,
  .category-wrap.category-15309 .row.mt-4,
  .category-wrap.category-15472 .row.mt-4,
  .category-wrap.category-15477 .row.mt-4,
  .category-wrap.category-15485 .row.mt-4,
  .category-wrap.category-15487 .row.mt-4,
  .category-wrap.category-15510 .row.mt-4,
  .category-wrap.category-15514 .row.mt-4,
  .category-wrap.category-15521 .row.mt-4,
  .category-wrap.category-15543 .row.mt-4,
  .category-wrap.category-15565 .row.mt-4,
  .category-wrap.category-15567 .row.mt-4,
  .category-wrap.category-15587 .row.mt-4,
  .category-wrap.category-15590 .row.mt-4,
  .category-wrap.category-15592 .row.mt-4,
  .category-wrap.category-15598 .row.mt-4,
  .category-wrap.category-15599 .row.mt-4,
  .category-wrap.category-15601 .row.mt-4,
  .category-wrap.category-15653 .row.mt-4,
  .category-wrap.category-15729 .row.mt-4,
  .category-wrap.category-15958 .row.mt-4,
  .category-wrap.category-15975 .row.mt-4,
  .category-wrap.category-15981 .row.mt-4,
  .category-wrap.category-15983 .row.mt-4,
  .category-wrap.category-16039 .row.mt-4,
  .category-wrap.category-16073 .row.mt-4,
  .category-wrap.category-16074 .row.mt-4,
  .category-wrap.category-16076 .row.mt-4,
  .category-wrap.category-16077 .row.mt-4,
  .category-wrap.category-16128 .row.mt-4,
  .category-wrap.category-16129 .row.mt-4 {
    padding: 20px !important;
    margin-bottom: 0 !important;
  }

  /*フォントサイズ*/
  .col-6.col-md-4.py-2.mobile-text-12 {
    font-size: 14px !important;
  }

  /*メインタイトル下部余白取る*/
  h1.h3.mb-4 {
    margin-bottom: 0 !important;
  }

  /*ロゴサイズ*/
  .overflow-hidden.text-center.mx-auto {
    width: 80px !important;
    height: 100px !important;
  }

  /*box-shadow取る*/
  .card.shadow-sm {
    box-shadow: none !important;
  }
}

/**************** makers & models終わり ******************/


/*タブレットフッタ調整*/
@media (min-width: 768px) and (max-width: 1024px) {
  .col-6.col-md-3.col-xl-2.text-center.text-md-left.mobile-mb-2 {
    margin-left: 56px !important;
  }
}

