/*
 Theme Name:   Standard Design A
 Theme URI:    https://standard-co.jp
 Description:  Standard Design A
 Author:       Standard Inc.
 Author URI:   https://standard-co.jp
 Template:    generatepress
 Version:      0.4

 テーマ：GeneratePress 3.0〜 + GP Premium
 →https://generatepress.com/
 CSSフレームワーク：Tailwindcss 2.0〜
 →https://tailwindcss.com/

・上書きが必要なものは当style.cssに記述
・当社固有のCSSには「std-xxx」と命名している
・IE11は非対応でOK

 ■目次
・基本設定
・Tailwindcss調整・ユーティリティ不足分追加
・GeneratePress：調整
・GeneratePress：追加
・ロゴ・ヘッダー
・ナビゲーション
・パンクズ
・ページネーション
・サイドバー
・フッター
・コンタクトフォーム
・テーブル
・リスト
・ボタン
・スクロールバー
・トップページ：メインビジュアル
・最新情報
・見出しデザイン
・ニュースティッカー
・背景スライドショー
〜下記未対応〜
・要素のアニメーション
・Page Hero：背景動画（不要な場合は削除）
・アニメーション：ローディング（不要な場合は削除）

・サイトオリジナルのCSS〜追加のCSSはここから記載〜
*/

/* =========================================================
* 基本設定
* テーマのレイアウトやフォントなどのベース設定はカスタマイザーで行う
* 外観 > カスタマイズ
* カスタマイザーで設定しきれない部分や調整をCSSで追加
========================================================= */

/* カスタムプロパティ指定 */

/* サンセリフ（ゴシック系）、セリフ（明朝系）はサイトのテイストに合わせて調整 */

/* フォントは外観>Elements>wp_head（全ページ出力）でlinkとして読み込み */

:root {
    --main-color: #E21C21;
    --main-color-hover: #fc4c50;
    --main-font-color: #ffffff;
    --main-font-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 游ゴシック, YuGothic, Meiryo, 'MS PGothic', sans-serif;
    --main-font-en: 'Roboto Condensed', sans-serif;
    --font-sans-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 游ゴシック, YuGothic, Meiryo, 'MS PGothic', sans-serif;
    --font-serif-jp: 'Noto Serif JP', 'Hiragino Mincho ProN', 游明朝, YuMincho, HGS明朝E, 'MS PMincho', serif;
    --font-sans-en: 'Roboto Condensed', sans-serif;
    /* --font-sans-en: 'Montserrat', sans-serif; */
    --font-serif-en: 'Playfair Display', serif;
    --font-tel: 'Ramabhadra', sans-serif;
    /* --font-tel: 'Source Serif Pro', serif; */
}

body {
    font-family: var(--font-sans-jp);
    /* カーニングの設定 */
    letter-spacing: 1.5px;
    font-feature-settings: "palt" 1;
    -webkit-font-kerning: auto;
    font-kerning: auto;
    border-top: #E21C21 4px solid;
    /* ページ上部に赤い線を付ける */
}

@media (max-width: 768px) {
    body {
        letter-spacing: 0;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--main-font-jp);
}

button, input, select, textarea {
    font-family: var(--main-font-jp);
}

dl, dt, dd {
    margin: 0;
}

ol, ul {
    margin: 0 0 0 1.5rem;
}

/* 画像初期設定 */

img {
    vertical-align: middle;
}

a:hover img {
    opacity: 0.8;
    filter: alpha(opacity=80);
    -ms-filter: "alpha( opacity=80 )";
}

/* アイコンカラー */

i.fa {
    color: var(--main-color);
}

/* 背景カラー */

.std-bg-main {
    background-color: var(--main-color);
}

/* フォント指定 */

.sans-jp {
    font-family: var(--font-sans-jp) !important;
}

.serif-jp {
    font-family: var(--font-serif-jp) !important;
}

.sans-en {
    font-family: var(--font-sans-en) !important;
}

.serif-en {
    font-family: var(--font-serif-en) !important;
}

.font-tel {
    font-family: var(--font-tel) !important;
}

/* 見出しフォントサイズ：カスタマイザーの設定「Typography＞Headings」に合わせる */

.h1 {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
}

.h2 {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
}

.h3 {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
}

.h4 {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 700;
}

.h5 {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 700;
}

.h6 {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 700;
}

@media (max-width: 768px) {
    .h1 {
        font-size: 34px;
    }
    .h2 {
        font-size: 32px;
    }
    .h3 {
        font-size: 24px;
    }
    .h4 {
        font-size: 22px;
    }
    .h5 {
        font-size: 20px;
    }
}

@media (max-width: 1024px) {
    /* フォームの横幅100% */
    input[type=email], input[type=number], /* input[type=password],  */
    /* input[type=search],  */
    input[type=tel], input[type=text], input[type=url], select, textarea {
        width: 100%;
    }
}

/* IE警告（IEは非対応の旨掲載） */

.ie-message-box {
    background-color: #eee;
    text-align: center;
    padding: 40px;
}

.ie-message-box h2 {
    color: rgba(239, 68, 68, 1);
    margin-bottom: 20px;
}

/* =========================================================
* Tailwindcss調整・ユーティリティ不足分追加
========================================================= */

.z-100 {
    z-index: 100;
}

.z-200 {
    z-index: 200;
}

.z-300 {
    z-index: 300;
}

/* テキストシャドウ */

.std-text-shadow {
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.1), 0 0 4px rgba(0, 0, 0, 0.1), 0 0 8px rgba(0, 0, 0, 0.1), 0 0 12px rgba(0, 0, 0, 0.1);
}

/* レスポンシブ対応 */

.std-responsive {
    position: relative;
    /* padding-bottom: 75%; */
    /* 4:3の場合 */
    padding-bottom: 56.25%;
    /* 16:9の場合 */
    width: 100%;
    height: 0;
    overflow: hidden;
}

.std-responsive iframe, .std-responsive object, .std-responsive embed {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* =========================================================
* GeneratePress：調整
* カスタマイザーで調整しきれない部分
========================================================= */

/* 投稿系：サイドバー有りのコンテンツとサイドバーのウィジェットを線で囲む */

.site-main article:not(.page) .inside-article, .search .site-main article .inside-article, .search-no-results .site-main .inside-article, .error404 .site-main .inside-article, .sidebar .widget {
    border: 1px solid #e3e3e3;
}

/* カテゴリーのページヘッダーを非表示（ElementsのHeaderを利用の場合） */

body.category .page-header, body.archive .page-header, body.tag .page-header, body.date .page-header, body.search .page-header {
    display: none;
}

/* カスタマイザーのセパレート値（40）を上書き */

/* パンくずの間の余白調整 */

.separate-containers.right-sidebar .site-main, .separate-containers.left-sidebar .site-main {
    margin-top: 20px;
}

.separate-containers .inside-right-sidebar, .separate-containers .inside-left-sidebar {
    margin-top: 20px;
}

/* =========================================================
* GeneratePress：追加
* GPマニュアル：https://docs.generatepress.com/collection/sections/
========================================================= */

/* フルワイドのセクション：GPのセクション利用時に「Custom Classes」に「generate-sections-fullwide」を設定 */

/* セクションの設定「Inner Box Type」を「Full Width」に変更しただけでは左右の余白が残るため、余白を０にする */

.generate-sections-fullwide .generate-sections-inside-container {
    padding-left: 0;
    padding-right: 0;
}

/* GPのセクション利用時に「Custom Classes」に「generate-sections-XXXX」を設定 */

.generate-sections-800 .generate-sections-inside-container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.generate-sections-900 .generate-sections-inside-container {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.generate-sections-1000 .generate-sections-inside-container {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.generate-sections-1100 .generate-sections-inside-container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.generate-sections-1200 .generate-sections-inside-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.generate-sections-1300 .generate-sections-inside-container {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.generate-sections-1400 .generate-sections-inside-container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.generate-sections-1500 .generate-sections-inside-container {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

.generate-sections-1600 .generate-sections-inside-container {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.generate-sections-1700 .generate-sections-inside-container {
    max-width: 1700px;
    margin-left: auto;
    margin-right: auto;
}

.generate-sections-1800 .generate-sections-inside-container {
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

/* 固定幅　※grid-containerはカスタマイザーの「Layout＞Container＞Container Width」設定値（ベーステーマでは1200px）となるため、それ以外の横幅を利用したい場合に利用 */

.grid-400 {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.grid-400::after {
    clear: both;
}

.grid-500 {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.grid-500::after {
    clear: both;
}

.grid-600 {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.grid-600::after {
    clear: both;
}

.grid-700 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.grid-700::after {
    clear: both;
}

.grid-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.grid-800::after {
    clear: both;
}

.grid-900 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.grid-900::after {
    clear: both;
}

.grid-1000 {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.grid-1000::after {
    clear: both;
}

.grid-1100 {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.grid-1100::after {
    clear: both;
}

/* カスタマイザーの設定値（Container Width）を超える場合は該当セクションの「Inner Box Type」を「Full Width」に変更してから利用する */

.grid-1200 {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.grid-1200::after {
    clear: both;
}

.grid-1300 {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.grid-1300::after {
    clear: both;
}

.grid-1400 {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.grid-1400::after {
    clear: both;
}

.grid-1500 {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

.grid-1500::after {
    clear: both;
}

.grid-1600 {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.grid-1600::after {
    clear: both;
}

.grid-1700 {
    max-width: 1700px;
    margin-left: auto;
    margin-right: auto;
}

.grid-1700::after {
    clear: both;
}

.grid-1800 {
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

.grid-1800::after {
    clear: both;
}

/* clear:both */

.grid-400::after, .grid-500::after, .grid-600::after, .grid-700::after, .grid-800::after, .grid-900::after, .grid-1000::after, .grid-1100::after, .grid-1200::after, .grid-1300::after, .grid-1400::after, .grid-1500::after, .grid-1600::after, .grid-1700::after, .grid-1800::after {
    content: ".";
    display: block;
    overflow: hidden;
    visibility: hidden;
    font-size: 0;
    line-height: 0;
    width: 0;
    height: 0;
}

/* =========================================================
* ロゴ・ヘッダー
* GPマニュアル
* https://docs.generatepress.com/collection/header/
========================================================= */

.main-title {
    font-family: var(--main-font-jp);
}

.site-description {
    font-family: var(--main-font-jp);
}

/* サイトタイトル（テキスト） */

@media (max-width: 1024px) {
    .inside-header {
        padding-left: 0;
        padding-right: 0;
        text-align: center;
        justify-content: center;
    }
}

@media (min-width: 1024px) and (max-width: 1260px) {
    .inside-header {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ロゴ画像設定 */

/* SVG以外の画像（jpg,png,gif等）は縦幅2倍で作成（滲まないように）、またはカスタマイザーでRetina Logoを指定 */

/* SVGの場合は縦＋横サイズも指定する */

.site-header .header-image, .site-header .main-navigation .navigation-logo img, #mobile-header.mobile-header-navigation .mobile-header-logo img {
    height: 50px;
    width: auto;
    /* width: 183px; /* ロゴの縦横比に合わせて横幅調整（SVG以外の場合はコメントアウト可） */
}

h1.site-logo {
    margin-bottom: 0;
}

/* ロゴ画像設定ここまで */

/* サイトタイトル前にアイコン設置ここから */

/* 不要な場合はコメントアウト */

/* SVG画像の場合はロゴの縦横比に合わせてheight、widthいずれも指定 */

.header-icon {
    margin: 0 10px 0 0;
    height: 54px;
    width: 54px;
    display: none!important;
}

@media (max-width: 1024px) {
    .header-icon {
        display: none;
    }
    .site-header .inside-header .main-title::before {
        content: '';
        background-image: url('//placehold.jp/dddddd/555555/45x45.png?text=logo');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        height: 45px;
        width: 45px;
        display: inline-block;
        vertical-align: middle;
        margin: 0;
    }
    .site-header .inside-header .main-title {
        margin-bottom: 0px;
    }
}

/* サイトタイトル前にアイコン設置ここまで */

/* ヘッダーCTAここから */

/* 外観 > ウィジェット > Header */

.header-widget {
    /* width: 440px; /* コンテンツに応じて適宜調整 */
}

.std-header-cta {
    height: 54px;
    /* サイトタイトル・ロゴ部分の高さに合わせる */
}

.std-header-tel {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: 0;
}

.std-header-text {
    font-size: 12px;
    line-height: 18px;
}

@media (max-width: 1024px) {
    .header-widget {
        display: none;
    }
}

/* ヘッダーCTAここまで */

/* =========================================================
* ナビゲーション
* GPマニュアル
* https://docs.generatepress.com/collection/primary-navigation/
* https://docs.generatepress.com/collection/slide-out-navigation/
========================================================= */

#primary-menu {
    width: 100%;
}

/* メニューの数に応じて調整（widthの指定無しでもOK） */

#primary-menu ul.menu>li {
    /* width: calc( 99.9% / 7); */
    /* ナビの数で割る　ナビの仕切り線を無くす場合は100%とする */
    text-align: center;
}

/* 画面幅が小さくなったときに横幅指定解除 */

@media (max-width:1200px) {
    #primary-menu ul.menu>li {
        /* width: auto; */
    }
}

/* サブナビゲーション（子メニュー）の横幅 = カスタマイザーで指定*/

#primary-menu ul ul {
    width: auto;
    min-width: 172px;
    white-space: nowrap;
    text-align: center;
}

/* ナビゲーションの左右の余白（20px）を削除 */

.nav-below-header .main-navigation .inside-navigation.grid-container, .nav-above-header .main-navigation .inside-navigation.grid-container {
    padding: 0;
}

/* ナビゲーションの上下に線 */

.main-navigation {
    border-top: 1px solid #ddd;
    /* border-bottom: 1px solid #ddd; */
}

/* 検索結果・404ページのHeaderが無い場合のナビには下線 */

.search .main-navigation, .search-no-results .main-navigation, .error404 .main-navigation {
    border-bottom: 1px solid #ddd;
}

/* ナビゲーション間の仕切り線 */

.main-navigation ul.menu>li::before, .main-navigation ul.menu>li:last-child::after {
    position: absolute;
    content: '';
    width: 1px;
    height: 16px;
    top: 22px;
    background: #ccc;
    z-index: 1;
}

.main-navigation ul.menu>li::before {
    left: 0px;
    /* 左側に仕切り線 */
}

.main-navigation ul.menu>li:last-child::after {
    right: 0px;
    /* 右側に仕切り線 */
}

/* スティッキーナビにサイトタイトル表示（せせる場合はCodeSnippetsでON） */

/* スティッキーナビの左側にタイトル、右側にメニューを配置（flex-endを上書き） */

/* 
.nav-align-right .inside-navigation {
    justify-content: space-between;
}

.main-title.std-sticky {
    display: none;
}
.navigation-stick .main-title.std-sticky {
    display: block;
}
*/

/* スライドアウトナビのサブメニュー時の「▼」クリック可能領域を広げる */

@media (max-width: 768px) {
    li.menu-item-has-children .dropdown-menu-toggle {
        padding-left: 15px !important;
        padding-right: 15px !important;
        border-left: 1px solid #ddd;
    }
    ul.sub-menu li.menu-item-has-children .dropdown-menu-toggle {
        border-left: 1px solid rgba(255, 255, 255, 0.5);
    }
}

@media (min-width: 769px) {
    #sticky-navigation.is_stuck.main-navigation ul li {
        letter-spacing: 1.5px;
    }
}

/* スライドアウトナビの装飾 */

#generate-slideout-menu.slideout-navigation.do-overlay .inside-navigation {
    padding-top: 0;
}

#generate-slideout-menu .slideout-menu>li {
    border-bottom: 1px solid #ddd;
    text-align: left !important;
    margin: 0;
}

#generate-slideout-menu .slideout-menu>li li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    text-align: left !important;
    margin: 0;
}

#generate-slideout-menu .slideout-menu>li li:last-of-type {
    border-bottom: none;
}

.slideout-navigation.main-navigation .main-nav ul li a {
    padding-left: 15px;
    width: 100%;
}

/* スライドアウトナビのウィジェトの余白調整 */

.main-navigation.slideout-navigation .main-nav, .main-navigation.slideout-navigation .slideout-widget:not(:last-child), .main-navigation.slideout-navigation .slideout-widget {
    margin: 0;
}

.slideout-widget {
    width: 100%;
}

/* スライドアウトナビのCTA */

.std-slideout-cta-tel {
    padding: 15px;
    background-color: rgba(101, 89, 127, 0.1);
}

.std-slideout-cta-tel a {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
}

.std-slideout-cta-tel .std-slideout-text {
    font-size: 12px;
    line-height: 12px;
    font-weight: 400;
}

.std-slideout-cta-mail a.button {
    color: #fff;
    line-height: 40px;
    padding: 15px;
}

/* =========================================================
* パンクズ
* Breadcrumb NavXTプラグイン利用
* 外観>Elements>パンくず出力
========================================================= */

.std-breadcrumbs {
    font-size: 14px;
    line-height: 20px;
    overflow: hidden;
    padding-top: 20px;
}

.sections-no-sidebars .std-breadcrumbs {
    padding: 20px 0;
}

/* オーバーフローした場合、改行させずに…表示 */

.std-breadcrumbs .grid-container {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .std-breadcrumbs {
        padding: 20px 10px 0 10px;
    }
    .sections-no-sidebars .std-breadcrumbs {
        padding: 20px 10px;
        border-bottom: 1px solid #eee;
    }
}

/* =========================================================
* ページネーション
========================================================= */

.paging-navigation {
    text-align: center;
}

.paging-navigation .page-numbers:not(.dots):not(.prev):not(.next) {
    background-color: var(--main-color);
    color: var(--main-font-color);
    padding: 2px 8px;
}

.paging-navigation a.page-numbers:not(.dots):not(.prev):not(.next):hover {
    background-color: var(--main-color-hover);
}

/* =========================================================
* サイドバー
* GPマニュアル：https://docs.generatepress.com/collection/sidebars/
========================================================= */

/* サイドバーウィジェットのタイトル設定 */

.sidebar .widget .widget-title {
    color: var(--main-font-color);
    background-color: var(--main-color);
    text-align: center;
    line-height: 1;
    padding: 15px 0;
    margin: -20px -20px 20px -20px;
    /* .sidebar .widgetのpadding打ち消し */
}

/* セレクトボックスデザイン調整 */

.sidebar .widget select {
    width: 100%;
    padding: 5px;
}

/* ウィジェット：最近の投稿 */

.sidebar .widget .post-date {
    display: block;
    color: #777;
}

/* WP Show Postsプラグインでのお知らせ表示 */

/* ダッシュボード > WP Show Posts > サイドバーへ最新情報表示 */

.sidebar .wp-show-posts-entry-meta {
    font-size: 13px;
    text-align: right;
}

.sidebar .wp-show-posts-image.wpsp-image-left {
    margin-right: 15px;
}

.sidebar .wp-show-posts .wp-show-posts-entry-title {
    /* タイトルのフォントはWP Show Postsプラグインの設定画面 */
    line-height: 1.4;
    font-weight: 400;
}

@media (max-width: 768px) {
    .sidebar .wp-show-posts-image.wpsp-image-left {
        float: left;
        /* サイドバーのWP Show Posts（最新情報）は左寄せ維持 */
    }
}

/* =========================================================
* フッター
* GPマニュアル：https://docs.generatepress.com/collection/footer/
========================================================= */

.std-footer-logo {
    height: 50px;
    width: auto;
    /* width: 183px; /* SVGはロゴの縦横比に合わせて横幅指定 */
    margin: 0 auto;
}

/* フッターにカスタムメニューを設置した場合 */

@media (min-width:769px) {
    .site-footer .widget_nav_menu {
        text-align: center;
    }
    .site-footer ul.menu li {
        display: inline-block;
        list-style-type: none;
        margin: 0 20px 0 0;
    }
}

.site-footer ul.menu li {
    padding: 0 0 0 20px;
}

.site-footer ul.menu li::before {
    font-family: 'FontAwesome';
    content: "\f138";
    position: absolute;
    left: 0;
    color: var(--main-color);
}

/* フッターサイトマップ */

#footer-widgets .footer-sitemap ul li {
    margin-bottom: 0;
}

/* コピーライト */

.copyright-bar {
    width: 100%;
}

/* スマホ用CTA */

.std-mobile-cta {
    background-color: var(--main-color);
}

.std-mobile-cta>div:first-of-type {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

/* フッター固定のCTAとかぶらないように */

@media (max-width: 768px) {
    /* スマホCTA（タップでお電話）対応 */
    .generate-back-to-top, .generate-back-to-top:visited {
        bottom: 55px;
        right: 10px;
        z-index: 200;
    }
    footer.site-info {
        margin-bottom: 45px;
    }
}

/* =========================================================
* コンタクトフォーム
* Contact Form 7プラグイン利用
========================================================= */

/* チェックボックス縦並び */

span.wpcf7-list-item {
    display: block;
}

/* プレイスホルダーの色指定（その他の色はカスタマイザーで設定） */

input::-webkit-input-placeholder {
    color: #aaa;
}

input:-ms-input-placeholder {
    color: #aaa;
}

input::-ms-input-placeholder {
    color: #aaa;
}

input::-moz-placeholder {
    color: #aaa;
}

input::placeholder {
    color: #aaa;
}

::-webkit-input-placeholder {
    color: #aaa;
}

:-ms-input-placeholder {
    color: #aaa;
}

::-ms-input-placeholder {
    color: #aaa;
}

::-moz-placeholder {
    color: #aaa;
}

::placeholder {
    color: #aaa;
}

/* 必須項目 */

.std-form-required {
    color: #fff;
    background: #e75757;
    font-size: 12px;
    padding: 1px 5px;
    margin-right: 7px;
}

/* ローダーとメッセージの出力位置を微調整 */

.wpcf7 .ajax-loader {
    display: block;
    margin: 10px auto 0 auto;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0 0.5em 1em;
}

/* =========================================================
* テーブル（基本はGeneratePressのテーブル）
* .table-bb：下線付きのテーブル
* .table-color：色付きのthに変更
* .table-tel：電話番号・FAX番号用
* .table-scrollでラップするとモバイル時に表を左右にスクロールさせる（3カラム以上ある場合はオススメ）
========================================================= */

/* テーブル：標準 */

table {
    margin: 0;
    background: #ffffff;
}

table th {
    text-align: left;
    font-weight: 500;
    width: 200px;
    /* 適宜変更 */
    background-color: #f3f3f3;
}

table th, table td {
    padding: 20px;
}

/* テーブル：下線バージョン */

table.table-bb, table.table-bb th, table.table-bb td {
    border: none;
}

table.table-bb th {
    border-bottom: 1px solid #555;
}

table.table-bb td {
    border-bottom: 1px solid #ccc;
}

/* 先頭のみ上部にも線を引く */

table.table-bb tr:first-of-type th {
    border-top: 1px solid #555;
}

table.table-bb tr:first-of-type td {
    border-top: 1px solid #ccc;
}

/* テーブル：メインカラーバージョン */

.table-color, .table-color th, .table-color td {
    border: none;
}

.table-color th, .table-color td {
    border-bottom: 1px solid #fff;
}

.table-color th {
    color: var(--main-font-color);
    background-color: var(--main-color);
}

/* tdの奇数行に適応 */

.table-color tr:nth-of-type(odd) td {
    background: #f3f3f3;
    /* 背景色に合わせて微調整 */
}

/* tdの偶数行に適応 */

.table-color tr:nth-of-type(even) td {
    background: #fafafa;
    /* 背景色に合わせて微調整 */
}

/* テーブル：電話番号・FAX番号用 */

table.table-tel th {
    width: 50px;
    font-size: 20px;
    text-align: center;
}

table.table-tel td {
    font-size: 36px;
    line-height: 1;
    letter-spacing: 0;
}

@media (max-width: 768px) {
    table th, table td, table.table-color th, table.table-color td {
        padding: 10px;
    }
    /* table-mobile指定でレスポンシブ対応（2カラム構成のテーブルに利用） */
    table.table-mobile tr, table.table-mobile th, table.table-mobile td {
        display: block;
        width: auto !important;
    }
    table.table-bb th {
        border-top: 1px solid #555;
        border-bottom: none;
        font-weight: 700;
        font-size: 18px;
    }
    table.table-bb tr:first-of-type td {
        border-top: none;
    }
    table.table-bb td {
        border-bottom: none;
    }
    table.table-bb tr:last-of-type td {
        border-bottom: 1px solid #ccc;
    }
    table.table-tel th {
        width: auto;
        font-size: 18px;
    }
    table.table-tel td {
        text-align: center;
        font-size: 24px;
        line-height: 1.8;
    }
}

/* talbeの外側にtable-scroll指定でスマホ時に横スクロール（3カラム構成以上のテーブルに利用） */

@media (max-width: 768px) {
    .table-scroll table {
        width: 100%;
    }
    .table-scroll {
        overflow: auto;
        /*tableをスクロールさせる*/
        white-space: nowrap;
        /*tableのセル内にある文字の折り返しを禁止*/
    }
    .table-scroll::-webkit-scrollbar {
        /*tableにスクロールバーを追加*/
        height: 5px;
    }
    .table-scroll::-webkit-scrollbar-track {
        /*tableにスクロールバーを追加*/
        background: #F1F1F1;
    }
    .table-scroll::-webkit-scrollbar-thumb {
        /*tableにスクロールバーを追加*/
        background: #BCBCBC;
    }
}

/* =========================================================
* リスト
========================================================= */

/* 1024pxより大きい場合はリストを複数行に */

ul.std-list-col {
    list-style-type: none;
}

ul.std-list-col li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ccc;
}

@media (min-width:1024px) {
    ul.std-list-col {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    ul.std-list-col li {
        display: flex;
        align-items: center;
        padding: 0 1rem;
        width: 31%;
        height: 3.5rem;
    }
}

/* =========================================================
* ボタン（基本はGeneratePressのボタン）
* 色はカスタマイザーで設定
* GPマニュアル：https://docs.generatepress.com/article/adding-buttons/
========================================================= */

/* ボタンのFontAwesome */

a.button i.fa {
    color: #fff;
}

a:hover.button i.fa {
    color: #fff;
}

/* FontAwesomeとの境界に縦線を入れる場合 */

.button i.left {
    border-right: 1px solid rgba(255, 255, 255, .2);
    margin-right: 5px;
    padding-right: 10px;
}

.button i.right {
    border-left: 1px solid rgba(255, 255, 255, .2);
    margin-left: 5px;
    padding-left: 10px;
}

/* シースルー（白） */

.button.see-white {
    background-color: transparent;
    color: #fff;
    font-weight: normal;
    border: 2px solid #fff;
}

/* シースルー（黒） */

.button.see-black {
    background-color: transparent;
    color: #333;
    font-weight: normal;
    border: 2px solid #333;
}

.button.see-black i {
    color: #333;
}

.button.see-black i.left, .button.see-black i.right {
    border-color: #333;
}

/* シースルーホバー時 */

.button.see-white:hover, .button.see-black:hover {
    background-color: var(--main-color);
    border: 2px solid var(--main-color);
    color: var(--main-font-color);
}

.button.see-white:hover i, .button.see-black:hover i {
    color: var(--main-font-color);
}

.button.see-black:hover i.left, .button.see-black:hover i.right {
    border-color: var(--main-color);
}

/* 追加したい色は各自指定 */
.button.red, .button.red:visited {
    background: #c81e32;
    color: #FFF;
}
.button.red:hover {
    background: #b91629;
}

.button.blue, .button.blue:visited {
    background: #1977CB;
    color: #FFF;
}
.button.blue:hover {
    background: #1164ac;
}

/* =========================================================
* スクロールバー
* malihu custom scrollbar plugin（JS）利用
* GitHub https://github.com/malihu/malihu-custom-scrollbar-plugin
* DEMO http://manos.malihu.gr/repository/custom-scrollbar/demo/examples/complete_examples.html
========================================================= */

.std-scroller {
    height: 524px;
    /* 高さ適宜調整 */
    overflow: auto;
}

/* スクロールバーの色（標準は黒） */

.std-scroller .mCS-dark-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    /* background-color: rgba(0,0,0,.75); */
    background-color: var(--main-color);
    opacity: 0.9;
}

/* ホバー */

.std-scroller .mCS-dark-3.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar {
    /* background-color: rgba(0,0,0,.85); */
    background-color: var(--main-color);
}

/* アクティブ */

.std-scroller .mCS-dark-3.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar, .std-scroller .mCS-dark-3.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
    /* background-color: rgba(0,0,0,.9); */
    background-color: var(--main-color);
}

/* =========================================================
* トップページ：メインビジュアル
* 外観>Elements>トップページ（Header）
* GPマニュアル：https://docs.generatepress.com/collection/elements/
========================================================= */

.std-mainimg .std-maincopy {
    font-family: var(--main-font-en);
    font-size: 60px;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.1), 0 0 4px rgba(0, 0, 0, 0.1), 0 0 8px rgba(0, 0, 0, 0.1), 0 0 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}

.std-mainimg .std-subcopy {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.1), 0 0 4px rgba(0, 0, 0, 0.1), 0 0 8px rgba(0, 0, 0, 0.1), 0 0 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    /* スマホ表示のときは、ページヘッダーのイメージ変更 */
    .home .page-hero {
        /* background-image: url('https://..../mb-main.jpg'); */
    }
    .std-mainimg .std-maincopy {
        font-size: 30px;
    }
    .std-mainimg .std-subcopy {
        font-size: 15px;
    }
}

/* =========================================================
* 最新情報表示
* Post Snippetsプラグインに出力用PHPを記載
* info1row、info2row、info1row-childcat
========================================================= */

.std-bg-info {
    color: var(--main-font-color);
    background-color: var(--main-color);
    width: 140px;
    max-width: 140px;
    text-align: center;
}

/* std-bg-xxxとしてカテゴリーのスラッグ毎に指定可能 */

.std-bg-news {}

/* =========================================================
* 見出しデザイン
* lv1…ページヘッダーで利用
* lv2…本文内で利用
* text…lv1、lv2の飾りテキスト
* フォントサイズはh1、h2、h3などの見出しに準じる
========================================================= */

.std-heading-wrap {
    margin-bottom: 2.5rem;
    text-align: center;
}

.std-heading-lv1, .std-heading-lv2 {
    color: #fff;
    font-family: var(--main-font-jp);
    font-weight: 700;
    letter-spacing: 0.1rem;
    /* フォントに応じて調整 */
    line-height: 1;
    margin: 0;
    position: relative;
    display: inline-block;
}

.std-heading-lv2 {
    color: #333;
}

.std-heading-lv2.white {
    color: #fff;
}

.std-heading-lv1::after, .std-heading-lv2::after {
    background-color: #fff;
    content: "";
    position: absolute;
    bottom: -25px;
    /* std-heading-textのmargin-topの値と合わせ調整 */
    left: 0;
    right: 0;
    width: 50px;
    /* 任意で変更 */
    height: 3px;
    /* 任意で変更 */
    margin: 0 auto;
}

.std-heading-lv2::after {
    background-color: var(--main-color);
}

.std-heading-lv2.white::after {
    background-color: #fff;
}

.std-heading-text {
    color: var(--main-color);
    text-transform: uppercase;
    font-family: var(--main-font-en);
    margin-top: 40px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.2rem;
}

.std-heading-text.white {
    color: #fff;
}

/* 見出しに下線 */

.std-title-line {
    text-align: center;
    margin-bottom: 20px;
}

.std-title-line {
    padding-bottom: 20px;
    position: relative;
}

.std-title-line::after {
    background-color: var(--main-color);
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 30px;
    margin-left: -15px;
    height: 3px;
}

/* =========================================================
* ニュースティッカー
* GP：Elementsで編集
* Header > Page Hero > Element Classesにstd-tickerクラスを指定
========================================================= */

.page-hero.std-ticker {
    position: relative;
}

.std-ticker-wrap {
    overflow: hidden;
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background-color: var(--main-color);
    /* flexbox */
    display: flex;
}

/* 768px以上の場合1300px上限 */

@media (min-width: 768px) {
    .std-ticker-wrap {
        max-width: 1300px;
        width: calc(100% - 200px);
        min-width: 1000px;
        margin: 0 auto;
    }
}

.std-ticker-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.std-ticker-item.std-ticker-title {
    width: 200px;
    line-height: 50px;
    text-align: center;
    background-color: #111;
    font-size: 1.2em;
}

.std-ticker-item.std-ticker-text {
    flex: 1;
    position: relative;
    text-align: left;
    font-size: 1em;
}

.std-ticker-text ul {
    margin: 0;
    padding: 0;
    line-height: 50px;
}

.std-ticker-text ul li {
    padding: 0 1.5em;
    display: none;
    width: calc( 100% - 3em);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.std-ticker-date {
    color: rgba(255, 255, 255, 0.8);
    margin-right: 1em;
}

@media (max-width: 768px) {
    .std-ticker-item.std-ticker-title {
        width: auto;
        font-size: 1em;
        padding: 0 10px;
    }
    .std-ticker-item.std-ticker-text {
        font-size: 0.85em;
    }
    .std-ticker-text ul li {
        padding: 0 1em;
        width: calc( 100% - 2em);
    }
}

/* =========================================================
* 背景スライドショー：KenBurns（CSSのみで実装）（不要な場合は削除）
* GP：Elementsで編集
* Header > Page Hero > Element Classesにstd-slideクラスを指定
* 参考　https://codepen.io/ibanez182/pen/LZPgrY
* 2枚バージョンのCSS　https://codepen.io/xxx-web/pen/ExPwrLe
* 3枚バージョンのCSS　https://codepen.io/xxx-web/pen/ebMWVP
* 4枚バージョンのCSS　https://codepen.io/xxx-web/pen/wRmdye
* 5枚バージョンのCSS　https://codepen.io/xxx-web/pen/ebMWqo
========================================================= */

.page-hero.std-slide {
    position: relative;
    overflow: hidden;
}

.std-slide .std-mainimg {
    position: relative;
    z-index: 9;
    /* スライドの枚数以上、10以下指定（GPのスティッキーナビの下になるように） */
    /* 
    background-color: rgba(255, 255, 255, 0.75);
    -webkit-box-shadow: 0 1em 2em -1em rgba(0, 0, 0, 0.5);
            box-shadow: 0 1em 2em -1em rgba(0, 0, 0, 0.5);
    padding: 1em 2em;
    */
}

.std-slideshow {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.std-slideshow-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background: no-repeat 50% 50%;
    background-size: cover;
    -webkit-animation-name: kenburns;
    animation-name: kenburns;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-duration: 18s;
    animation-duration: 18s;
    opacity: 1;
    transform: scale(1.2);
}

.std-slideshow-image:nth-child(1) {
    -webkit-animation-name: kenburns-1;
    animation-name: kenburns-1;
    z-index: 2;
}

.std-slideshow-image:nth-child(2) {
    -webkit-animation-name: kenburns-2;
    animation-name: kenburns-2;
    z-index: 1;
}

.std-slideshow-image:nth-child(3) {
    -webkit-animation-name: kenburns-3;
    animation-name: kenburns-3;
    z-index: 0;
}

@-webkit-keyframes kenburns-1 {
    0% {
        opacity: 1;
        transform: scale(1.2);
    }
    1.5625% {
        opacity: 1;
    }
    31.7675% {
        opacity: 1;
    }
    34.8925% {
        opacity: 0;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.2);
    }
    98% {
        opacity: 0;
        transform: scale(1.2117647059);
    }
    100% {
        opacity: 1;
    }
}

@keyframes kenburns-1 {
    0% {
        opacity: 1;
        transform: scale(1.2);
    }
    1.5625% {
        opacity: 1;
    }
    31.7675% {
        opacity: 1;
    }
    34.8925% {
        opacity: 0;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.2);
    }
    98% {
        opacity: 0;
        transform: scale(1.2117647059);
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes kenburns-2 {
    31.7675% {
        opacity: 1;
        transform: scale(1.2);
    }
    34.8925% {
        opacity: 1;
    }
    65.0975% {
        opacity: 1;
    }
    68.2225% {
        opacity: 0;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

@keyframes kenburns-2 {
    31.7675% {
        opacity: 1;
        transform: scale(1.2);
    }
    34.8925% {
        opacity: 1;
    }
    65.0975% {
        opacity: 1;
    }
    68.2225% {
        opacity: 0;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

@-webkit-keyframes kenburns-3 {
    65.0975% {
        opacity: 1;
        transform: scale(1.2);
    }
    68.2225% {
        opacity: 1;
    }
    98.4375% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

@keyframes kenburns-3 {
    65.0975% {
        opacity: 1;
        transform: scale(1.2);
    }
    68.2225% {
        opacity: 1;
    }
    98.4375% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* =========================================================
* サイトオリジナルのCSS（わかりやすくコメントを記載してください）
========================================================= */

/* TOPスライドの中間サイズのパディング調整 */

@media (max-width:1200px) {
    .std-slide {
        padding-top: 60px;
    }
}

/* 見出しテキスト */
.std-heading-text {
    color: var(--main-color);
    text-transform: uppercase;
    font-family: var(--main-font-en);
    margin-top: 40px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.2rem;
}

/* TOPのアクセスのシンボルフォント色調整 */
.top-access a i {
    color: #333!important;
}
.top-access a:hover i {
    color: #fff!important;
}

/* ヘッダーのdescriptionを上にする */
.site-branding {
    display: flex;
    flex-direction: column;
}
.site-description {
    order: 1;
}
.main-title {
    order: 2;
}

/* TOPおすすめ中古車の赤いラベル */
.box-label {
    position: absolute;
    right: 0;
    top: 0;
    padding: 3px 6px;
    display: block;
    background: var(--main-color);
    color: #fff;
}
.box-label.label-new {
    background-color: #16b562;
}
.box-label.label-nego {
    background-color: #1977cb;
}

/* TOP　製品情報ポップアップ中身 */
.top-popup{
    display: flex;
    flex-wrap: wrap;
}
.top-popup img{
    max-width: 300px;
    width: 94%;
}
.top-popup p{
    text-align: center;
}

/* TOPのgooglemap */
.top-std-responsive {
    position: relative;
    padding-bottom: 40%;
    width: 100%;
    height: 0;
    overflow: hidden;
}
.top-std-responsive iframe,
.top-std-responsive object,
.top-std-responsive embed {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* TOPのコンテンツをふわっと表示させる */
.fade-in {
    opacity: 0;
    transition-duration: 500ms;
    transition-property: opacity, transform;
}
.fade-in-up {
    transform: translate(0, 50px);
}
.scroll-in {
    opacity: 1;
    transform: translate(0, 0);
}

/* 新車・中古車商品詳細ページの外枠を非表示に */
body.single-used .inside-article,
body.single-newcar .inside-article {
    border: none !important;
}

/* 新車・中古車商品詳細内包 */
.item_contents {
    max-width: 1000px;
}

/* 新車・中古車商品詳細　スライドショー */
#wrap {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}
#slider {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto 10px!important;
}
.slide-item img {
    width: 100%;
}
#thumbnail-list {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
#thumbnail-list li+li {
    margin-right: 10px;
}
#thumbnail-list li:first-child {
    margin-right: 10px;
}
.thumbnail-item {
    max-width: 100px;
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
    position: relative;
    list-style-type: none;
}
.thumbnail-item:after {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
}
.thumbnail-item.thumbnail-current:after {
    opacity: 0;
}
.thumbnail-item img {
    width: 100%;
    margin: 0 auto;
}

/* 商品名 */
.used_title,
.newcar_title {
    border-bottom: 2px solid var(--main-color)!important;
    padding-bottom: 6px;
    font-size: 1.4em;
    margin-bottom: 10px;
}

/* 新着商品などのラベル */
.item_label {
    color: var(--main-color);
    border: 1px solid var(--main-color)!important;
}
.item_label.label-new {
    color: #16b562;
    border: 1px solid #16b562 !important;
}
.item_label.label-nego {
    color: #1977cb;
    border: 1px solid #1977cb !important;
}
.text {
    line-height: 1.5;
}
.more {
    color: var(--main-color);
}

/* 中古車商品スライドショーのサムネイルの並びを左寄せに */
@media (max-width:1200px) {
    #thumbnail-list {
        justify-content: flex-start;
    }
}

/* 新車・中古車一覧ページの外枠 */
body.post-type-archive-used .site.grid-container, 
body.post-type-archive-newcar .site.grid-container, 
body.tax-used_cat .site.grid-container,
body.tax-newcar_cat .site.grid-container {
    max-width: 1230px;
}

/* 新車・中古車一覧ページのitemのflex */
body.post-type-archive-used .site-main, 
body.post-type-archive-newcar .site-main, 
body.tax-used_cat .site-main,
body.tax-newcar_cat .site-main,
 .top_used_content,
 .top_newcar_content {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    box-sizing: border-box;
}

body.post-type-archive-used .site-main .useditem, 
body.post-type-archive-newcar .site-main .newcaritem, 
body.tax-used_cat .site-main .useditem, 
body.tax-newcar_cat .site-main .newcaritem, 
.top_used_content .useditem,
.top_newcar_content .newcaritem {
    width: 31.3%;
    /* width: 23%; */
    margin: 1%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    box-sizing: border-box;
    position: relative;
}

body.post-type-archive-used .site-main .useditem h3, 
body.post-type-archive-newcar .site-main .newcaritem h3, 
body.tax-used_cat .site-main .useditem h3, 
body.tax-newcar_cat .site-main .newcaritem h3, 
body.home .top_used_content .useditem h3,
body.home .top_newcar_content .newcaritem h3 {
    line-height: 1.3!important;
}

/* 新車・中古車一覧 a要素を全体に */
body.post-type-archive-used .site-main .useditem a, 
body.post-type-archive-newcar .site-main .newcaritem a, 
body.tax-used_cat .site-main .useditem a,
body.tax-newcar_cat .site-main .newcaritem a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

/* 新車・中古車一覧 a要素を全体に　TOPだけoverflow: hiddenしない（fadeinの兼ね合いで） */
body.home .top_used_content .useditem a,
body.home .top_newcar_content .useditem a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-indent: 100%;
    white-space: nowrap;
}

body.post-type-archive-used .site-main .useditem a:hover, 
body.post-type-archive-newcar .site-main .newcaritem a:hover, 
body.tax-used_cat .site-main .useditem a:hover, 
body.tax-newcar_cat .site-main .newcaritem a:hover, 
.top_used_content .useditem a:hover,
.top_newcar_content .newcaritem a:hover {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    background: rgba(221, 221, 221, 0.2);
    transition: background 0.5s;
}

/* 新車・中古車一覧の価格 */
.archive_price {
    margin-top: auto;
    border-top: 1px solid #ddd;
    padding: 0.5rem 1.25rem;
    text-align: right;
}

/* ページネーションでflexをクリア */
body.post-type-archive-used .site-main .paging-navigation, 
body.post-type-archive-newcar .site-main .paging-navigation, 
body.tax-used_cat .site-main .paging-navigation,
body.tax-newcar_cat .site-main .paging-navigation {
    width: 100%;
    display: block;
}

@media (max-width: 1000px) {
    /* 新車・中古車一覧 */
    body.post-type-archive-used .site-main .useditem, 
    body.post-type-archive-newcar .site-main .newcaritem, 
    body.tax-used_cat .site-main .useditem,
    body.tax-newcar_cat .site-main .newcaritem,
    .top_used_content .useditem,
    .top_newcar_content .newcaritem {
        width: 94%;
        margin: 1.5% auto;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        border: 1px solid #ddd;
        box-sizing: border-box;
    }
}

/* リンクボタンを右下に配置 */
.link-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}
.link-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.link-btn {
    align-self: flex-end;
    margin-top: 1em;
}

/* 新車・中古車についてのh2のみ　白文字 */
.aboutusedcar .std-heading-lv2,
.aboutnewcar .std-heading-lv2 {
    color: #fff!important;
}
.aboutusedcar p,
.aboutnewcar p {
    font-size: 1.1em;
    line-height: 2;
}

/* 2023.1.25追加 */
table th p:last-child,
table td p:last-child {
	margin-bottom:0;
}

/* 2023.1.31追加 */
.m-color {
    color: var(--main-color);
}
.linear {
    background:linear-gradient(transparent 60%, #ff6 60%);
}