/*
Theme Name: SYN Ownd Child
Template: syn-ownd
Theme URI: https://syn.design/
Author: 株式会社ウェブライダー
Author URI: https://web-rider.jp/
Description: SYN Ownd の子テーマ
Version: 1.0.0
Text Domain: syn-ownd-child
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
@charset "utf-8";

/* ============================================================
   グローバル
============================================================ */

/*
 * スクロールバーの有無によるヘッダー横ズレ防止
 * ページをまたいでスクロールバー幅が変わっても常に同じ余白を確保する
 */
html {
    scrollbar-gutter: stable;
}

body {
    font-family: Meiryo, "Meiryo UI", "MS PGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif !important;
    background: #f9f7f4 !important;
}

/* ============================================================
   ヘッダー
============================================================ */
.hdr {
    background: #fff !important;
    border-bottom: 1px solid #d6d6d6 !important;
    padding: 0 !important;
}

.hdr .container,
.hdr__detail {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
    display: block !important;
    text-align: left !important;
}

.hdr__detail--center {
    text-align: left !important;
}
@media (max-width: 1079px) {
    .hdr__detail--center {
        position: relative !important;
        top: -2px !important;
    }
}
.hdr__detail--center .hdr__logo,
.hdr__detail .hdr__logo {
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* TOPページ(h1)と他ページ(p)のhdr__logo-ttlフォントサイズ差を解消 */
h1.hdr__logo-ttl,
p.hdr__logo-ttl {
    font-size: 16px !important;
    line-height: 1 !important;
    height: auto !important;
}

.ap-hdr-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 0 !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.hdr__logo-link {
    text-decoration: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}
.hdr__logo-ttl {
    margin: 0 !important;
}
.hdr__logo-img {
    height: 40px !important;
    width: auto !important;
    display: block !important;
}
.ap-hdr-logo-text {
    display: block !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #00155b !important;
    letter-spacing: -.02em !important;
    line-height: 1.2 !important;
}
.ap-hdr-logo-sub {
    display: block !important;
    margin-top: 4px !important;
    font-size: 12px !important;
    color: #666 !important;
}
.ap-hdr-info {
    font-size: 12px !important;
    color: #666 !important;
    text-align: right !important;
    line-height: 1.8 !important;
}

.hdr__nav {
    border-top: 1px solid #e3e3e3 !important;
    padding: 5px 0 !important;
}
@media (max-width: 1079px) {
    .hdr__nav {
        display: none !important;
    }
}
.hdr__nav ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 20px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.hdr__nav ul li a {
    font-size: 14px !important;
    color: #444 !important;
    text-decoration: none !important;
}
.hdr__nav ul li a:hover {
    color: #00155b !important;
}

.hdr-fixed {
    background: #fff !important;
    border-bottom: 1px solid #d6d6d6 !important;
}
.hdr-fixed__inner,
.hdr-fixed__inner--center {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
    width: 92% !important;
    box-sizing: border-box !important;
}
/* 固定ヘッダーのロゴサイズ */
.hdr-fixed .hdr__logo-link {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #00155b !important;
}
/* ============================================================
   メインコンテンツエリア
============================================================ */
.container.main {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.hdr__mv,
.main-visual,
.kv-slider {
    display: none !important;
}
/* パンくずはTOPページのみ非表示（他ページはSEOのため表示） */
.home .breadcrumb.is-head {
    display: none !important;
}

/* パンくずリストの幅をサイト幅に合わせる */
.breadcrumb__inner {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
}

/* パンくずの上下余白 */
.breadcrumb {
    padding: 10px 0 !important;
}

@media (max-width: 1024px) {
    .ap-hdr-info {
        display: none !important;
    }
}

/* ============================================================
   ドロワーメニュー
============================================================ */
.ham-menu__inner {
    background: #fff !important;
    position: fixed !important;
    z-index: 9999 !important;
}
.ham-menu__bg {
    background: rgba(0, 0, 0, 0.7) !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 9998 !important;
}
.ham-menu .common-nav a {
    color: #333 !important;
}
.ham-menu .common-nav a:hover {
    color: #00155b !important;
}

/* ============================================================
   ハンバーガーボタン位置（開くボタンのみ。CLOSEボタンは親テーマ準拠）
============================================================ */
.hdr__detail {
    position: relative !important;
}
.ham-menu-btn.is-md {
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}
.ham-menu-btn.is-close {
    position: absolute !important;
    right: 20px !important;
    top: 20px !important;
    transform: none !important;
}
.ham-menu-btn__button {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #333 !important;
    padding: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
}
.ham-menu-btn__text {
    font-size: 10px !important;
    color: #333 !important;
}

/* 固定ヘッダー内のハンバーガーボタンを小さく */
.hdr-fixed .ham-menu-btn__icon {
    font-size: 18px !important;
}
.hdr-fixed .ham-menu-btn__text {
    font-size: 8px !important;
}
.hdr-fixed .ham-menu-btn__button {
    padding: 4px !important;
}
/* ============================================================
   TOPボタン
============================================================ */
.return-top a {
    background: #00155b !important;
    border: 3px solid rgba(255,255,255,0.8) !important;
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    opacity: 1 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}
.return-top a::before {
    color: #fff !important;
    font-size: 20px !important;
}
.return-top a:hover {
    background: #001a70 !important;
    opacity: 1 !important;
}
/* ==========================================================
   在庫一覧ページ (archive-used-car)
   style.css に追記するブロック
   ========================================================== */

/* ── ページヘッダー ─────────────────────────── */
.uc-archive__page-header {
    background: #f3f3f3;
    padding: 40px 0 36px;
    text-align: center;
}



.uc-archive__title {
    color: #00155b;
    font-family: 'メイリオ', Meiryo, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: .04em;
    line-height: 1.3;
}

.uc-archive__title-en {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: .75rem;
    font-weight: 400;
    letter-spacing: .2em;
    color: #00155b;
    opacity: .5;
    margin-bottom: 6px;
}

.uc-archive__subtitle {
    color: #555;
    font-size: .875rem;
    line-height: 1.7;
    margin: 0;
}

/* ── 全幅ブレイクアウト（親テーマのコンテンツ幅を突破） ─── */
/*
 * SYN Ownd の .main や .container が max-width で制約しているため
 * .uc-archive 自体をビューポート幅に強制拡張する
 */
.uc-archive {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    box-sizing: border-box !important;
}

/* ── ページヘッダー内側・ボディ・CTAの内側を 1100px に制限 ─── */
.uc-archive__page-header-inner,
.uc-archive__body,
.uc-archive__cta .container {
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* ── ボディ領域 ─────────────────────────── */
.uc-archive__body {
    padding: 32px 16px 64px;
}

/* ── ステータスタブ ─────────────────────── */
.uc-status-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.uc-status-tabs__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 0;
    border: 2px solid #d0d5e0;
    background: #fff;
    color: #444;
    font-size: .8125rem;
    font-family: 'メイリオ', Meiryo, sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: all .18s ease;
    white-space: nowrap;
}

.uc-status-tabs__item:hover {
    opacity: .72;
    text-decoration: none;
}

.uc-status-tabs__item.is-active {
    background: #00155b;
    border-color: #00155b;
    color: #fff;
}

.uc-status-tabs__item.tab--on-sale.is-active {
    background: #00155b;
    border-color: #00155b;
}

.uc-status-tabs__item.tab--sold {
    color: #888;
}

.uc-status-tabs__item.tab--sold.is-active {
    background: #6b7280;
    border-color: #6b7280;
    color: #fff;
}

.uc-status-tabs__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 0;
    background: rgba(0,0,0,.08);
    font-size: .6875rem;
    font-weight: 700;
}

.uc-status-tabs__item.is-active .uc-status-tabs__count {
    background: rgba(255,255,255,.25);
}

/* ── フィルターバー ─────────────────────── */
.uc-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 0;
    border: 1px solid #e0e4ec;
    margin-bottom: 24px;
}

.uc-filter-bar__left {
    font-size: .875rem;
    color: #555;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

.uc-filter-bar__left strong {
    font-size: 1.125rem;
    color: #00155b;
    margin-right: 2px;
}

.uc-filter-bar__result-count {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.uc-filter-bar__active-filter {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: #e8edf7;
    border-radius: 0;
    font-size: .75rem;
    color: #00155b;
    font-weight: 700;
}

.uc-filter-bar__clear-maker {
    color: #00155b;
    font-weight: 700;
    text-decoration: none;
    font-size: .875rem;
    line-height: 1;
}

.uc-filter-bar__right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.uc-filter-select-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.uc-filter-select-wrap__label {
    font-size: .75rem;
    color: #777;
    white-space: nowrap;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

.uc-filter-select {
    padding: 6px 28px 6px 10px;
    font-size: .8125rem;
    font-family: 'メイリオ', Meiryo, sans-serif;
    border: 1px solid #ccd2de;
    border-radius: 0;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2300155b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    color: #333;
    min-width: 100px;
    transition: border-color .15s;
}

.uc-filter-select:focus {
    outline: none;
    border-color: #00155b;
    box-shadow: 0 0 0 2px rgba(0,21,91,.12);
}

/* ── 車両カードグリッド ─────────────────── */
.uc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* ── 車両カード ─────────────────────────── */
.uc-card {
    background: #fff;
    border-radius: 0;
    border: 1px solid #e0e4ec;
    overflow: hidden;
    transition: opacity .15s ease, border-color .15s ease;
    display: flex;
    flex-direction: column;
}

.uc-card:hover {
    opacity: .82;
    border-color: #b0b8cc;
}

.uc-card--unavailable {
    opacity: .75;
}

.uc-card--unavailable:hover {
    transform: none;
    box-shadow: none;
}

.uc-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.uc-card__link:hover {
    text-decoration: none;
    color: inherit;
}

/* サムネイル */
.uc-card__thumb-wrap {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    background: #ececec;
}
.uc-card__thumb-wrap .uc-card__thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uc-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: none;
}

/* ステータスバッジ */
.uc-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 0;
    font-size: .6875rem;
    font-weight: 700;
    font-family: 'メイリオ', Meiryo, sans-serif;
    letter-spacing: .05em;
    line-height: 1;
}

.badge--on-sale {
    background: #00155b;
    color: #fff;
}

.badge--negotiating {
    background: #d97706;
    color: #fff;
}

.badge--reserved {
    background: #7c3aed;
    color: #fff;
}

.badge--sold {
    background: #4b5563;
    color: #fff;
}

/* SOLD オーバーレイ */
.uc-card__sold-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.uc-card__sold-overlay span {
    display: block;
    padding: 8px 20px;
    border: 2px solid rgba(255,255,255,.8);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'メイリオ', Meiryo, sans-serif;
    letter-spacing: .1em;
}

/* カード本文 */
.uc-card__body {
    padding: 16px;
    font-size: 13px;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.uc-card__maker {
    font-size: 11px;
    color: #666;
    margin: 0 0 2px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

.uc-card__model {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin: 0 0 2px;
    line-height: 1.4;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

.uc-card__grade {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #888;
    margin: 2px 0 8px;
}

/* スペックタグ */
.uc-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 10px;
}

.uc-card__tag {
    background: #f0f0f0;
    color: #555;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 3px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

/* カードフッター */
.uc-card__footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: none;
}

.uc-card__price {
    font-size: 16px;
    font-weight: 700;
    color: #00155b;
    margin: 0 0 10px;
    font-family: 'メイリオ', Meiryo, sans-serif;
    line-height: 1.2;
}

.uc-card__price-tax {
    font-size: .6875rem;
    font-weight: 400;
    color: #888;
    margin-left: 2px;
}

.uc-card__price-sold {
    font-size: .875rem;
    color: #9ca3af;
    letter-spacing: .1em;
}

.uc-card__shaken {
    font-size: 11px;
    color: #666;
    font-weight: 400;
    margin: 0 0 3px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

.uc-card__btn {
    display: block;
    margin-top: 10px;
    padding: 8px 0;
    background: #00155b;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    font-family: 'メイリオ', Meiryo, sans-serif;
    border-radius: 4px;
    text-decoration: none;
}
.uc-card__btn:hover {
    opacity: .85;
    color: #fff !important;
}



/* ── ページネーション ───────────────────── */
.uc-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.uc-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 0;
    border: 1px solid #ccd2de;
    background: #fff;
    color: #444;
    font-size: .875rem;
    font-family: 'メイリオ', Meiryo, sans-serif;
    text-decoration: none;
    transition: all .15s;
}

.uc-pagination .page-numbers:hover {
    border-color: #00155b;
    color: #00155b;
    text-decoration: none;
}

.uc-pagination .page-numbers.current {
    background: #00155b;
    border-color: #00155b;
    color: #fff;
}

.uc-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    cursor: default;
}

/* ── 件数0表示 ─────────────────────────── */
.uc-no-results {
    text-align: center;
    padding: 64px 20px;
}

.uc-no-results__icon {
    font-size: 3rem;
    margin-bottom: 16px;
    filter: grayscale(1) opacity(.4);
}

.uc-no-results__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #444;
    margin: 0 0 8px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

.uc-no-results__text {
    font-size: .875rem;
    color: #777;
    margin: 0 0 24px;
}

.uc-no-results__btn {
    display: inline-block;
    padding: 12px 28px;
    background: #00155b;
    color: #fff;
    border-radius: 0;
    font-size: .875rem;
    font-weight: 700;
    font-family: 'メイリオ', Meiryo, sans-serif;
    text-decoration: none;
    transition: background .15s;
}

.uc-no-results__btn:hover {
    background: #0a2a7a;
    text-decoration: none;
    color: #fff;
}

/* ── CTAバナー ─────────────────────────── */
.uc-archive__cta {
    background: #f3f3f3;
    padding: 40px 0;
}

/* 区切り線を内側コンテナ（1100px幅）の上に付ける */
.uc-archive__cta .container {
    border-top: 1px solid #ccd2de;
    padding-top: 36px;
}

.uc-archive__cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.uc-archive__cta-text {
    flex: 1;
    min-width: 200px;
}

.uc-archive__cta-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #00155b;
    margin: 0 0 8px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

.uc-archive__cta-body {
    font-size: .875rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.uc-archive__cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* CTAボタン */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: all .18s ease;
    min-width: 210px;
}

.btn-cta:hover {
    text-decoration: none;
    opacity: .82;
}

.btn-cta--tel {
    background: #00155b;
    color: #fff;
}

.btn-cta--tel:hover {
    background: #00155b;
    color: #fff;
    opacity: .82;
}

.btn-cta--form {
    background: #fff;
    border: 1.5px solid #00155b;
    color: #00155b;
}

.btn-cta--form:hover {
    background: #fff;
    color: #00155b;
    opacity: .82;
}

.btn-cta__icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.btn-cta__text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.btn-cta__text small {
    font-size: .6875rem;
    opacity: .75;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

.btn-cta--tel .btn-cta__text {
    font-size: 1.125rem;
    font-weight: 700;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

.btn-cta--form .btn-cta__text {
    font-size: .9375rem;
    font-weight: 700;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

/* ── レスポンシブ ──────────────────────── */
@media (max-width: 1024px) {
    .uc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .uc-archive__page-header {
        padding: 32px 0 28px;
    }

    .uc-archive__title {
        font-size: 1.375rem;
    }

    .uc-archive__body {
        padding: 20px 12px 48px;
    }

    .uc-status-tabs {
        gap: 4px;
    }

    .uc-status-tabs__item {
        padding: 7px 12px;
        font-size: .75rem;
    }

    .uc-filter-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .uc-filter-bar__right {
        width: 100%;
    }

    .uc-filter-select-wrap {
        flex: 1;
    }

    .uc-filter-select {
        width: 100%;
    }

    .uc-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .uc-card__body {
        padding: 10px 12px 12px;
    }

    .uc-card__model {
        font-size: .875rem;
    }

    .uc-card__specs {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .uc-card__price {
        font-size: 1.0625rem;
    }

    .uc-archive__cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .uc-archive__cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .btn-cta {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .uc-grid {
        grid-template-columns: 1fr;
    }

    .uc-card__specs {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================
   成約済み車両ページ (page-sold) 追加CSS
   ========================================================== */

/* ── ステータスサマリー ─────────────────── */
.sold-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e0e4ec;
    margin-bottom: 16px;
    font-size: .875rem;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

.sold-summary__item {
    color: #555;
}

.sold-summary__item strong {
    font-size: 1.125rem;
    margin: 0 2px;
}

.sold-summary__item--reserved strong {
    color: #7c3aed;
}

.sold-summary__item--sold strong {
    color: #4b5563;
}

.sold-summary__sep {
    color: #bbb;
}

.sold-summary__total {
    margin-left: auto;
    font-weight: 700;
    color: #444;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

.sold-summary__total strong {
    font-size: 1.125rem;
    color: #00155b;
    margin: 0 2px;
}

/* ── 参考価格表示（成約済みページ用） ────── */
.uc-card__price-sold-ref {
    color: #9ca3af;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-color: #ccc;
}

.sold-price-label {
    font-size: .6875rem;
    color: #aaa;
    font-weight: 400;
    margin-left: 2px;
}

/* ==========================================================
   お問い合わせページ (page-contact)
   ========================================================== */

.contact-body {
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 40px 16px 60px;
    box-sizing: border-box;
    width: 100%;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}

/* ── 電話バナー ── */
.contact-tel-banner {
    background: #f3f3f3;
    border: 1px solid #dde0e8;
    padding: 22px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}
.contact-tel-banner__label {
    font-size: 11px;
    color: #888;
    margin-bottom: 3px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.contact-tel-banner__num {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #00155b;
    text-decoration: none;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.contact-tel-banner__num:hover { opacity: .82; }
.contact-tel-banner__note {
    font-size: 11px;
    color: #aaa;
    margin-top: 3px;
}
.contact-tel-banner__hours {
    font-size: 13px;
    color: #555;
    line-height: 2;
    text-align: right;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

/* ── フォームカード ── */
.contact-form-card {
    background: #fff;
    border: 1px solid #d8d8d8;
}

/* ── リード文 ── */
.contact-lead {
    padding: 20px 28px;
    border-bottom: 1px solid #eef0f5;
    font-size: 13px;
    color: #555;
    line-height: 2;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.contact-lead strong { color: #00155b; }
.contact-lead p + p { margin-top: 8px; }
.contact-lead__list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: grid;
    gap: 4px;
}
.contact-lead__list li {
    padding-left: 16px;
    position: relative;
    font-size: 13px;
    color: #444;
}
.contact-lead__list li::before {
    content: '●';
    position: absolute;
    left: 0;
    font-size: 9px;
    top: 5px;
    color: #00155b;
}
.contact-lead__caution {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #888;
    line-height: 1.9;
}

/* ── フォーム本体 ── */
.contact-form-body { padding: 28px; }

.cf-group { margin-bottom: 24px; }
.cf-group:last-child { margin-bottom: 0; }

.cf-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    flex-wrap: wrap;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.cf-req {
    background: #00155b;
    color: #fff;
    font-size: 10px;
    padding: 2px 7px;
    font-weight: 700;
    flex-shrink: 0;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.cf-opt {
    background: #dde2ef;
    color: #666;
    font-size: 10px;
    padding: 2px 7px;
    font-weight: 700;
    flex-shrink: 0;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.cf-helper {
    font-size: 11px;
    color: #888;
    font-weight: 400;
    background: #f3f3f3;
    padding: 2px 8px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

.cf-input {
    width: 100%;
    border: 1px solid #ccd2de;
    padding: 10px 13px;
    font-size: 14px;
    font-family: 'メイリオ', Meiryo, sans-serif;
    color: #333;
    background: #fff;
}
.cf-input:focus { outline: none; border-color: #00155b; }
.cf-input-sm { width: 55%; }

.cf-select {
    width: 100%;
    border: 1px solid #ccd2de;
    padding: 10px 36px 10px 13px;
    font-size: 14px;
    font-family: 'メイリオ', Meiryo, sans-serif;
    color: #333;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2300155b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
    -webkit-appearance: none;
    appearance: none;
}
.cf-select:focus { outline: none; border-color: #00155b; }
.cf-select-auto { width: auto; min-width: 180px; }

.cf-textarea {
    width: 100%;
    border: 1px solid #ccd2de;
    padding: 10px 13px;
    font-size: 14px;
    font-family: 'メイリオ', Meiryo, sans-serif;
    color: #333;
    resize: vertical;
    min-height: 160px;
    background: #fff;
    line-height: 1.8;
}
.cf-textarea:focus { outline: none; border-color: #00155b; }
.cf-note {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
    line-height: 1.7;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.cf-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.cf-divider {
    border: none;
    border-top: 1px solid #eef0f5;
    margin: 24px 0;
}
.cf-section-label {
    font-size: 12px;
    font-weight: 700;
    color: #00155b;
    border-left: 3px solid #00155b;
    padding-left: 10px;
    margin-bottom: 16px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

/* 種別グリッド */
.cf-type-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    border: 1px solid #ccd2de;
    width: 100%;
}
.cf-type-btn {
    position: relative;
    display: block !important;
}
.cf-type-btn input {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none;
}
.cf-type-btn span {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 8px;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    text-align: center;
    border-right: 1px solid #ccd2de;
    min-height: 60px;
    line-height: 1.4;
    font-family: 'メイリオ', Meiryo, sans-serif;
    width: 100%;
    box-sizing: border-box;
}
.cf-type-btn:last-child span { border-right: none; }
.cf-type-btn input:checked + span {
    background: #00155b !important;
    color: #fff !important;
}
.cf-type-btn span:hover { background: #f0f4ff; color: #00155b; }
.cf-type-btn input:checked + span:hover { background: #00155b !important; color: #fff !important; }

/* ラジオ・チェック */
.cf-radio-group { display: flex; flex-wrap: wrap; gap: 6px; }
.cf-radio-btn { position: relative; }
.cf-radio-btn input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.cf-radio-btn span {
    display: inline-block;
    padding: 9px 16px;
    border: 1px solid #ccd2de;
    background: #fff;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.cf-radio-btn input:checked + span {
    background: #00155b;
    border-color: #00155b;
    color: #fff;
    font-weight: 700;
}
.cf-radio-btn span:hover { border-color: #00155b; color: #00155b; }
.cf-radio-btn input:checked + span:hover { color: #fff; }

.cf-check-group { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.cf-check-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.cf-check-item input { accent-color: #00155b; width: 15px; height: 15px; }

/* 郵便番号 */
.cf-zip-row { display: flex; gap: 10px; align-items: center; }
.cf-zip-btn {
    padding: 10px 16px;
    background: #00155b;
    color: #fff;
    border: none;
    font-size: 13px;
    font-family: 'メイリオ', Meiryo, sans-serif;
    cursor: pointer;
    white-space: nowrap;
}
.cf-zip-btn:hover { opacity: .82; }
.cf-file-input { font-size: 13px; color: #555; }

/* ── 見学日時選択 ── */
.cf-visit-datetime {
    margin-top: 16px;
    border: 1px solid #dde2ef;
    background: #f8f9fc;
    padding: 20px;
}
.cf-visit-datetime__title {
    font-size: 12px;
    font-weight: 700;
    color: #00155b;
    border-left: 3px solid #00155b;
    padding-left: 10px;
    margin-bottom: 16px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.cf-visit-datetime__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.cf-dt-label {
    font-size: 12px;
    font-weight: 700;
    color: #444;
    margin-bottom: 6px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

/* カレンダー */
.cf-cal-wrap { background: #fff; border: 1px solid #ccd2de; }
.cf-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: #00155b;
}
.cf-cal-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    flex: 1;
    text-align: center;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.cf-cal-nav {
    background: none;
    border: none;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 10px;
    line-height: 1;
}
.cf-cal-nav:hover { opacity: .7; }
.cf-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}
.cf-cal-dow {
    font-size: 11px;
    font-weight: 700;
    padding: 6px 2px;
    color: #888;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
}
.cf-cal-dow.sun { color: #c00; }
.cf-cal-dow.sat { color: #00c; }
.cf-cal-day {
    font-size: 12px;
    padding: 6px 2px;
    cursor: pointer;
    color: #333;
    border: 1px solid transparent;
    margin: 1px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.cf-cal-day:hover:not(.disabled):not(.other-month) { background: #e8f0fe; color: #00155b; }
.cf-cal-day.selected { background: #00155b; color: #fff; font-weight: 700; }
.cf-cal-day.disabled { color: #ccc; cursor: default; pointer-events: none; }
.cf-cal-day.other-month { color: #ddd; pointer-events: none; }
.cf-cal-day.today { border-color: #00155b; color: #00155b; font-weight: 700; }
.cf-selected-date {
    font-size: 13px;
    color: #00155b;
    font-weight: 700;
    margin-top: 8px;
    min-height: 20px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

/* ── プライバシー・送信 ── */
.contact-privacy-area {
    padding: 20px 28px;
    border-top: 1px solid #eef0f5;
    background: #fafbfc;
}
.contact-privacy-box {
    background: #fff;
    border: 1px solid #dde;
    padding: 12px 16px;
    font-size: 11px;
    color: #777;
    line-height: 2;
    max-height: 64px;
    overflow-y: auto;
    margin-bottom: 12px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.contact-privacy-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.contact-privacy-check input { accent-color: #00155b; width: 15px; height: 15px; }
.contact-submit-area {
    padding: 24px 28px;
    text-align: center;
    border-top: 1px solid #eef0f5;
}
.contact-submit-btn {
    display: inline-block;
    padding: 15px 80px;
    background: #00155b;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: 'メイリオ', Meiryo, sans-serif;
    border: none;
    cursor: pointer;
    letter-spacing: .08em;
}
.contact-submit-btn:hover { opacity: .82; }
.contact-submit-note {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
    line-height: 1.9;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

/* ── サイドバー ── */
.contact-side { display: grid; gap: 16px; }
.contact-side-card { background: #fff; border: 1px solid #d8d8d8; }
.contact-side-head {
    background: #00155b;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 16px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.contact-side-body { padding: 16px; }
.contact-side-tel-label {
    font-size: 11px;
    color: #888;
    margin-bottom: 3px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.contact-side-tel {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #00155b;
    margin: 4px 0;
    text-decoration: none;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.contact-side-tel:hover { opacity: .82; }
.contact-side-tel-note {
    font-size: 11px;
    color: #888;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.contact-side-hours {
    font-size: 12px;
    color: #555;
    line-height: 1.9;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.contact-side-row {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 4px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.contact-side-key {
    font-weight: 700;
    color: #333;
    min-width: 32px;
    flex-shrink: 0;
}
.contact-side-map {
    margin-top: 12px;
    border: 1px solid #d0d4dc;
    overflow: hidden;
}
.contact-faq-item {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px dotted #ddd;
    font-size: 12px;
}
.contact-faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.contact-faq-q {
    font-weight: 700;
    color: #00155b;
    margin-bottom: 4px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.contact-faq-a {
    color: #555;
    line-height: 1.8;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

/* ── レスポンシブ ── */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .contact-side {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-form-body { padding: 20px; }
    .cf-type-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .cf-type-btn:nth-child(2) span { border-right: none; }
    .cf-type-btn:nth-child(3) span { border-right: 1px solid #ccd2de; border-top: 1px solid #ccd2de; }
    .cf-type-btn:nth-child(4) span { border-top: 1px solid #ccd2de; }
    .cf-grid-2 { grid-template-columns: 1fr; }
    .cf-visit-datetime__grid { grid-template-columns: 1fr; }
    .cf-input-sm { width: 100%; }
    .cf-select-auto { width: 100%; }
    .contact-privacy-area { padding: 16px 20px; }
    .contact-submit-area { padding: 20px; }
    .contact-submit-btn { padding: 14px 40px; width: 100%; }
    .contact-side { grid-template-columns: 1fr; }
}

/* ── ファイル添付リスト ── */
.cf-file-list { display: grid; gap: 8px; }
.cf-file-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cf-file-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #00155b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

/* ── ファイル追加ボタン ── */
.cf-file-add-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 7px 16px;
    background: #fff;
    border: 1px solid #00155b;
    color: #00155b;
    font-size: 13px;
    font-weight: 700;
    font-family: 'メイリオ', Meiryo, sans-serif;
    cursor: pointer;
}
.cf-file-add-btn:hover { opacity: .82; }
.cf-file-add-btn:disabled {
    border-color: #ccc;
    color: #aaa;
    cursor: default;
    opacity: 1;
}

/* ── 送信エリア：チェックとボタンを縦並びに ── */
.wpcf7-acceptance {
    display: block;
    margin-bottom: 20px !important;
}
.wpcf7-submit,
input[type="submit"].contact-submit-btn,
.contact-submit-btn {
    display: block;
    width: auto;
    margin: 0 auto;
}


/* ============================================================
   プライバシーポリシー（page-privacy.php）
   ============================================================ */

.privacy-body {
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 48px 16px 64px;
    box-sizing: border-box;
    width: 100%;
}
.privacy-card {
    background: #fff;
    border: 1px solid #d8d8d8;
    padding: 40px 48px;
    margin-bottom: 24px;
}
.privacy-intro {
    font-size: 13px;
    color: #555;
    line-height: 2;
    padding-bottom: 28px;
    border-bottom: 1px solid #eef0f5;
    margin-bottom: 32px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.privacy-section {
    margin-bottom: 36px;
}
.privacy-section:last-of-type {
    margin-bottom: 0;
}
.privacy-h2 {
    font-size: 15px;
    font-weight: 700;
    color: #00155b;
    border-left: 3px solid #00155b;
    padding-left: 10px;
    margin-bottom: 14px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.privacy-section p {
    font-size: 13px;
    color: #555;
    line-height: 2;
    margin-bottom: 10px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.privacy-section p:last-child {
    margin-bottom: 0;
}
.privacy-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 14px;
}
.privacy-list li {
    font-size: 13px;
    color: #555;
    line-height: 1.9;
    padding-left: 16px;
    position: relative;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.privacy-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    font-size: 9px;
    top: 5px;
    color: #00155b;
}
.privacy-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 10px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.privacy-table th,
.privacy-table td {
    padding: 10px 14px;
    border: 1px solid #dde0e8;
    line-height: 1.8;
    vertical-align: top;
}
.privacy-table th {
    background: #f3f3f3;
    color: #333;
    font-weight: 700;
    width: 120px;
    white-space: nowrap;
}
.privacy-table td {
    color: #555;
}
.privacy-table td a {
    color: #00155b;
    text-decoration: underline;
}
.privacy-table td a:hover {
    opacity: .82;
}
.privacy-date {
    font-size: 12px;
    color: #aaa;
    text-align: right;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #eef0f5;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.privacy-back {
    text-align: center;
}
.privacy-back-btn {
    display: inline-block;
    padding: 12px 40px;
    background: #00155b;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.privacy-back-btn:hover {
    opacity: .82;
}
@media (max-width: 768px) {
    .privacy-card { padding: 24px 20px; }
    .privacy-table th { width: 80px; }
}


/* ============================================================
   会社概要（page-about.php）
   ============================================================ */

.about-body {
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 48px 16px 64px;
    box-sizing: border-box;
    width: 100%;
    display: grid;
    gap: 28px;
}
.about-card {
    background: #fff;
    border: 1px solid #d8d8d8;
    padding: 32px 40px;
}
.about-h2 {
    font-size: 15px;
    font-weight: 700;
    color: #00155b;
    border-left: 3px solid #00155b;
    padding-left: 10px;
    margin-bottom: 20px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.about-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 13px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.about-table th,
.about-table td {
    padding: 12px 16px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #eef0f5;
    line-height: 1.8;
    vertical-align: top;
}
.about-table tr:last-child th,
.about-table tr:last-child td {
    border-bottom: none;
}
.about-table th {
    background: none;
    color: #333;
    font-weight: 700;
    width: 160px;
    white-space: nowrap;
}
.about-table td {
    color: #555;
}
.about-table td a {
    color: #00155b;
    text-decoration: underline;
}
.about-table td a:hover { opacity: .82; }

/* CTA */
.about-cta {
    background: #f3f3f3;
    border: 1px solid #dde0e8;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.about-cta__text {
    font-size: 14px;
    font-weight: 700;
    color: #00155b;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.about-cta__btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.about-cta__btn {
    display: inline-block;
    padding: 10px 28px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.about-cta__btn--primary {
    background: #00155b;
    color: #fff;
}
.about-cta__btn--tel {
    background: #fff;
    color: #00155b;
    border: 1px solid #00155b;
}
.about-cta__btn:hover { opacity: .82; }

@media (max-width: 768px) {
    .about-card { padding: 20px 16px; }
    .about-table th { width: 100px; white-space: normal; }
    .about-cta { flex-direction: column; align-items: flex-start; }
    .about-cta__btns { width: 100%; flex-direction: column; }
    .about-cta__btn { text-align: center; }
}


/* ============================================================
   アクセスマップ（page-access.php）
   ============================================================ */

.access-body {
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 48px 16px 64px;
    box-sizing: border-box;
    width: 100%;
}
.access-map-wrap {
    border: 1px solid #d8d8d8;
    overflow: hidden;
    margin-bottom: 28px;
}
.access-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
.access-card {
    background: #fff;
    border: 1px solid #d8d8d8;
    padding: 28px 32px;
}
.access-h2 {
    font-size: 15px;
    font-weight: 700;
    color: #00155b;
    border-left: 3px solid #00155b;
    padding-left: 10px;
    margin-bottom: 18px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.access-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 13px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.access-table th,
.access-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eef0f5;
    line-height: 1.8;
    vertical-align: top;
}
.access-table tr:last-child th,
.access-table tr:last-child td {
    border-bottom: none;
}
.access-table th {
    background: none;
    color: #333;
    font-weight: 700;
    width: 110px;
    white-space: nowrap;
}
.access-table td {
    color: #555;
}
.access-table td a {
    color: #00155b;
    text-decoration: underline;
}
.access-table td a:hover { opacity: .82; }
.access-note {
    font-size: 11px;
    color: #aaa;
}
.access-notes {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}
.access-note-item {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.access-note-icon {
    color: #00155b;
    font-size: 9px;
    margin-top: 6px;
    flex-shrink: 0;
}
.access-note-text { flex: 1; }
.access-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.access-cta__btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.access-cta__btn--primary {
    background: #00155b;
    color: #fff;
}
.access-cta__btn--tel {
    background: #fff;
    color: #00155b;
    border: 1px solid #00155b;
}
.access-cta__btn:hover { opacity: .82; }

@media (max-width: 768px) {
    .access-layout { grid-template-columns: 1fr; }
    .access-card { padding: 20px 16px; }
    .access-map-wrap iframe { height: 280px; }
    .access-cta { flex-direction: column; }
    .access-cta__btn { text-align: center; }
}


/* ============================================================
   お客様の声（archive-reviews.php）
   ============================================================ */

.reviews-body {
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 40px 16px 64px;
    box-sizing: border-box;
    width: 100%;
}

/* 件数バナー */
.reviews-count-bar {
    background: #00155b;
    color: #fff;
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 28px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.reviews-count-bar__num {
    font-size: 22px;
    color: #c9a84c;
    margin: 0 4px;
}

/* カードリスト（C案：2列・左写真・右コメント＋手書き） */
.reviews-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

/* 個別カード */
.reviews-card {
    background: #fff;
    border: 1px solid #d8d8d8;
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 140px;
}

/* 左：車両写真 */
.reviews-card__car {
    overflow: hidden;
    background: #eee;
    border-right: 1px solid #d8d8d8;
}
.reviews-card__car img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 右：コンテンツエリア */
.reviews-card__right {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.reviews-card__quote {
    font-size: 13px;
    font-weight: 700;
    color: #00155b;
    line-height: 1.6;
    border-left: 3px solid #c9a84c;
    padding-left: 8px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.reviews-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.reviews-card__pref {
    background: #f3f3f3;
    border: 1px solid #dde0e8;
    padding: 2px 8px;
    font-size: 11px;
    color: #555;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.reviews-card__name {
    font-size: 12px;
    color: #888;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

/* 手書きカードサムネイル行 */
.reviews-card__hw-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #eef0f5;
    cursor: pointer;
}
.reviews-card__hw-row:hover .reviews-card__hw-btn {
    opacity: .82;
}
.reviews-card__hw-thumb {
    width: 56px;
    height: 40px;
    overflow: hidden;
    border: 1px solid #e8e4d8;
    background: #f9f7f0;
    flex-shrink: 0;
}
.reviews-card__hw-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.reviews-card__hw-label {
    font-size: 12px;
    color: #888;
    flex: 1;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.reviews-card__hw-btn {
    background: #00155b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    white-space: nowrap;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

/* ライトボックス */
.ap-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ap-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.85);
    cursor: pointer;
}
.ap-lightbox__inner {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ap-lightbox__img {
    max-width: 90vw;
    max-height: 90vh;
    display: block;
    object-fit: contain;
}
.ap-lightbox__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}
.ap-lightbox__close:hover { opacity: .7; }


/* ページネーション */
.reviews-pager {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}
.reviews-pager .page-numbers {
    display: inline-flex;
    list-style: none;
    gap: 4px;
    padding: 0;
    margin: 0;
}
.reviews-pager .page-numbers li a,
.reviews-pager .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #dde0e8;
    background: #fff;
    color: #555;
    font-size: 13px;
    text-decoration: none;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.reviews-pager .page-numbers li span.current {
    background: #00155b;
    color: #fff;
    border-color: #00155b;
}
.reviews-pager .page-numbers li a:hover {
    background: #f0f4ff;
    color: #00155b;
}

/* 空の場合 */
.reviews-empty {
    text-align: center;
    color: #888;
    font-size: 14px;
    padding: 40px 0;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

/* CTAバナー */
.reviews-cta {
    background: #fff;
    border: 1px solid #d8d8d8;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.reviews-cta__text {
    font-size: 14px;
    font-weight: 700;
    color: #00155b;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.reviews-cta__sub {
    font-size: 12px;
    color: #888;
    font-weight: 400;
    margin-top: 4px;
}
.reviews-cta__btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.reviews-cta__btn {
    display: inline-block;
    padding: 10px 28px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.reviews-cta__btn--primary {
    background: #00155b;
    color: #fff;
}
.reviews-cta__btn--tel {
    background: #fff;
    color: #00155b;
    border: 1px solid #00155b;
}
.reviews-cta__btn:hover { opacity: .82; }

/* レスポンシブ */
@media (max-width: 768px) {
    .reviews-card { grid-template-columns: 1fr; }
    .reviews-card__car { height: 200px; border-right: none; border-bottom: 1px solid #d8d8d8; }
    .reviews-cta { flex-direction: column; align-items: flex-start; }
    .reviews-cta__btns { width: 100%; flex-direction: column; }
    .reviews-cta__btn { text-align: center; }
}


/* ============================================================
   ご購入の流れ（page-step.php）
   ============================================================ */

.step-body {
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 48px 16px 64px;
    box-sizing: border-box;
    width: 100%;
}

/* 遠方バナー */
.step-remote-banner {
    background: #eef2fb;
    border: 1px solid #b5c8e8;
    border-left: 4px solid #00155b;
    padding: 18px 24px;
    margin-bottom: 32px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.step-remote-banner__title {
    font-size: 14px;
    font-weight: 700;
    color: #00155b;
    margin-bottom: 6px;
}
.step-remote-banner__text {
    font-size: 13px;
    color: #555;
    line-height: 1.9;
}

/* ステップリスト */
.step-list {
    margin-bottom: 32px;
}
.step-item {
    background: #fff;
    border: 1px solid #d8d8d8;
    display: grid;
    grid-template-columns: 72px 1fr;
    min-height: 90px;
}
.step-item__num {
    background: #00155b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 12px 8px;
    gap: 2px;
}
.step-item__num-label {
    font-size: 9px;
    letter-spacing: .1em;
    opacity: .7;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.step-item__num-val {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.step-item__body {
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}
.step-item__title {
    font-size: 14px;
    font-weight: 700;
    color: #00155b;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.step-item__desc {
    font-size: 13px;
    color: #555;
    line-height: 1.9;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.step-item__note {
    font-size: 12px;
    color: #c9a84c;
    font-weight: 700;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.step-arrow {
    text-align: center;
    color: #00155b;
    font-size: 16px;
    line-height: 1;
    padding: 6px 0;
}

/* 費用・アフター */
.step-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}
.step-info-card {
    background: #fff;
    border: 1px solid #d8d8d8;
    padding: 20px 24px;
}
.step-info-card__title {
    font-size: 13px;
    font-weight: 700;
    color: #00155b;
    border-left: 3px solid #c9a84c;
    padding-left: 10px;
    margin-bottom: 14px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.step-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}
.step-info-list li {
    font-size: 13px;
    color: #555;
    line-height: 1.9;
    padding-left: 14px;
    position: relative;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.step-info-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    font-size: 8px;
    top: 6px;
    color: #00155b;
}
.step-info-note {
    font-size: 11px;
    color: #aaa;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.step-info-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.9;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

/* お支払い */
.step-payment-wrap {
    margin-bottom: 28px;
}
.step-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #00155b;
    border-left: 3px solid #c9a84c;
    padding-left: 10px;
    margin-bottom: 16px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.step-payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}
.step-payment-card {
    background: #fff;
    border: 1px solid #d8d8d8;
    padding: 18px 16px;
}
.step-payment-card__title {
    font-size: 13px;
    font-weight: 700;
    color: #00155b;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eef0f5;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.step-payment-card__desc {
    font-size: 12px;
    color: #555;
    line-height: 1.9;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

/* CTA */
.step-cta {
    background: #f3f3f3;
    border: 1px solid #dde0e8;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.step-cta__text {
    font-size: 14px;
    font-weight: 700;
    color: #00155b;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.step-cta__sub {
    font-size: 12px;
    color: #888;
    font-weight: 400;
    margin-top: 4px;
}
.step-cta__btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.step-cta__btn {
    display: inline-block;
    padding: 10px 28px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.step-cta__btn--primary {
    background: #00155b;
    color: #fff;
}
.step-cta__btn--tel {
    background: #fff;
    color: #00155b;
    border: 1px solid #00155b;
}
.step-cta__btn:hover { opacity: .82; }

/* レスポンシブ */
@media (max-width: 768px) {
    .step-item { grid-template-columns: 56px 1fr; }
    .step-item__body { padding: 14px 16px; }
    .step-info-grid { grid-template-columns: 1fr; }
    .step-payment-grid { grid-template-columns: 1fr; }
    .step-cta { flex-direction: column; align-items: flex-start; }
    .step-cta__btns { width: 100%; flex-direction: column; }
    .step-cta__btn { text-align: center; }
}


/* ============================================================
   代表あいさつ（page-profile.php）
   ============================================================ */

.profile-body {
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 48px 16px 64px;
    box-sizing: border-box;
    width: 100%;
    display: grid;
    gap: 32px;
}

/* プロフィールカード */
.profile-card {
    background: #fff;
    border: 1px solid #d8d8d8;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
}
.profile-card__photo {
    border-right: 1px solid #d8d8d8;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}
.profile-card__photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #aaa;
    font-size: 12px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.profile-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.profile-card__info {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.profile-card__name-en {
    font-size: 11px;
    color: #888;
    letter-spacing: .1em;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.profile-card__name {
    font-size: 22px;
    font-weight: 700;
    color: #00155b;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.profile-card__name-kana {
    font-size: 12px;
    color: #888;
    margin-top: -8px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.profile-card__tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.profile-tag {
    background: #eef2fb;
    border: 1px solid #b5c8e8;
    color: #00155b;
    font-size: 11px;
    padding: 3px 10px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.profile-card__career {
    display: grid;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid #eef0f5;
}
.profile-career-item {
    display: flex;
    gap: 16px;
    font-size: 12px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.profile-career-year {
    color: #00155b;
    font-weight: 700;
    white-space: nowrap;
    min-width: 64px;
}
.profile-career-text {
    color: #555;
}

/* あいさつ文 */
.profile-message {
    background: #fff;
    border: 1px solid #d8d8d8;
    padding: 36px 40px;
}
.profile-h2 {
    font-size: 15px;
    font-weight: 700;
    color: #00155b;
    border-left: 3px solid #c9a84c;
    padding-left: 10px;
    margin-bottom: 16px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.profile-text {
    margin-bottom: 32px;
}
.profile-text p {
    font-size: 13px;
    color: #444;
    line-height: 2.1;
    margin-bottom: 14px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.profile-text p:last-child {
    margin-bottom: 0;
}
.profile-sign {
    text-align: right;
    color: #333 !important;
    margin-top: 20px !important;
    padding-top: 16px;
    border-top: 1px solid #eef0f5;
    font-size: 13px !important;
    line-height: 1.9 !important;
}

/* 経営理念 */
.profile-philosophy {
    background: #00155b;
    padding: 32px 40px;
}
.profile-philosophy__title {
    font-size: 15px;
    font-weight: 700;
    color: #c9a84c;
    margin-bottom: 20px;
    font-family: 'メイリオ', Meiryo, sans-serif;
    letter-spacing: .08em;
}
.profile-philosophy__list {
    display: grid;
    gap: 16px;
}
.profile-philosophy__item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.profile-philosophy__num {
    font-size: 22px;
    font-weight: 700;
    color: #c9a84c;
    line-height: 1;
    flex-shrink: 0;
    font-family: 'メイリオ', Meiryo, sans-serif;
    min-width: 32px;
}
.profile-philosophy__text {
    font-size: 13px;
    color: rgba(255,255,255,.85);
    line-height: 1.9;
    padding-top: 2px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

/* CTA */
.profile-cta {
    background: #f3f3f3;
    border: 1px solid #dde0e8;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.profile-cta__text {
    font-size: 14px;
    font-weight: 700;
    color: #00155b;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.profile-cta__sub {
    font-size: 12px;
    color: #888;
    font-weight: 400;
    margin-top: 4px;
}
.profile-cta__btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.profile-cta__btn {
    display: inline-block;
    padding: 10px 28px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.profile-cta__btn--primary {
    background: #00155b;
    color: #fff;
}
.profile-cta__btn--tel {
    background: #fff;
    color: #00155b;
    border: 1px solid #00155b;
}
.profile-cta__btn:hover { opacity: .82; }

/* レスポンシブ */
@media (max-width: 768px) {
    .profile-card { grid-template-columns: 1fr; }
    .profile-card__photo { min-height: 200px; border-right: none; border-bottom: 1px solid #d8d8d8; }
    .profile-card__info { padding: 20px 16px; }
    .profile-message { padding: 24px 20px; }
    .profile-philosophy { padding: 24px 20px; }
    .profile-cta { flex-direction: column; align-items: flex-start; }
    .profile-cta__btns { width: 100%; flex-direction: column; }
    .profile-cta__btn { text-align: center; }
}


/* ============================================================
   トルコン太郎（page-torucontarou.php）
   ============================================================ */

.torcon-body {
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 48px 16px 64px;
    box-sizing: border-box;
    width: 100%;
}

/* リード */
.torcon-lead {
    background: #fff;
    border: 1px solid #d8d8d8;
    border-left: 4px solid #00155b;
    padding: 20px 24px;
    margin-bottom: 28px;
    font-size: 13px;
    color: #444;
    line-height: 2;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

/* 特徴バナー */
.torcon-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}
.torcon-feature {
    background: #00155b;
    padding: 16px 14px;
    text-align: center;
}
.torcon-feature__title {
    font-size: 13px;
    font-weight: 700;
    color: #c9a84c;
    margin-bottom: 6px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.torcon-feature__text {
    font-size: 11px;
    color: rgba(255,255,255,.8);
    line-height: 1.8;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

/* セクション共通 */
.torcon-section {
    margin-bottom: 40px;
}
.torcon-h2 {
    font-size: 16px;
    font-weight: 700;
    color: #00155b;
    border-left: 4px solid #c9a84c;
    padding-left: 12px;
    margin-bottom: 18px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.torcon-text {
    margin-bottom: 18px;
}
.torcon-text p {
    font-size: 13px;
    color: #444;
    line-height: 2;
    margin-bottom: 12px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.torcon-text p:last-child { margin-bottom: 0; }
.torcon-text strong { color: #00155b; }

/* 症状リスト */
.torcon-symptom {
    background: #fff8f0;
    border: 1px solid #f0d8b0;
    padding: 18px 22px;
}
.torcon-symptom__title {
    font-size: 13px;
    font-weight: 700;
    color: #854f0b;
    margin-bottom: 12px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.torcon-symptom__list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 24px;
}
.torcon-symptom__list li {
    font-size: 13px;
    color: #555;
    padding-left: 14px;
    position: relative;
    line-height: 1.9;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.torcon-symptom__list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    font-size: 8px;
    top: 6px;
    color: #c9a84c;
}
.torcon-symptom__note {
    font-size: 12px;
    color: #888;
    line-height: 1.8;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

/* メリットグリッド */
.torcon-merit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.torcon-merit {
    background: #fff;
    border: 1px solid #d8d8d8;
    padding: 18px 20px;
}
.torcon-merit__num {
    font-size: 11px;
    font-weight: 700;
    color: #c9a84c;
    margin-bottom: 6px;
    font-family: 'メイリオ', Meiryo, sans-serif;
    letter-spacing: .1em;
}
.torcon-merit__title {
    font-size: 13px;
    font-weight: 700;
    color: #00155b;
    margin-bottom: 8px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.torcon-merit__text {
    font-size: 12px;
    color: #555;
    line-height: 1.9;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

/* 作業工程 */
.torcon-steps {
    display: grid;
    gap: 0;
}
.torcon-step {
    background: #fff;
    border: 1px solid #d8d8d8;
    display: grid;
    grid-template-columns: 48px 1fr;
    min-height: 60px;
}
.torcon-step__num {
    background: #00155b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.torcon-step__text {
    padding: 14px 18px;
    font-size: 13px;
    color: #444;
    line-height: 1.8;
    display: flex;
    align-items: center;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.torcon-step-arrow {
    text-align: center;
    color: #00155b;
    font-size: 14px;
    padding: 4px 0;
}

/* 施工実例 */
.torcon-cases {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 14px;
}
.torcon-case {
    background: #fff;
    border: 1px solid #d8d8d8;
}
.torcon-case a {
    display: block;
    overflow: hidden;
}
.torcon-case img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: opacity .2s;
}
.torcon-case a:hover img { opacity: .82; }
.torcon-case__body {
    padding: 12px 14px;
}
.torcon-case__title {
    font-size: 12px;
    font-weight: 700;
    color: #00155b;
    margin-bottom: 4px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.torcon-case__text {
    font-size: 11px;
    color: #666;
    line-height: 1.8;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.torcon-case-link {
    text-align: right;
}
.torcon-case-link a {
    font-size: 12px;
    color: #00155b;
    text-decoration: underline;
    font-family: 'メイリオ', Meiryo, sans-serif;
}

/* 交換サイクル表 */
.torcon-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 10px;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.torcon-table th,
.torcon-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #eef0f5;
    line-height: 1.8;
    vertical-align: top;
}
.torcon-table tr:last-child th,
.torcon-table tr:last-child td { border-bottom: none; }
.torcon-table th {
    background: none;
    color: #00155b;
    font-weight: 700;
    width: 120px;
    white-space: nowrap;
}
.torcon-table td { color: #555; }

/* FAQ */
.torcon-faq-list { display: grid; gap: 10px; }
.torcon-faq {
    background: #fff;
    border: 1px solid #d8d8d8;
}
.torcon-faq__q {
    background: #f3f3f3;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #00155b;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.torcon-faq__q::before {
    content: 'Q. ';
    color: #c9a84c;
}
.torcon-faq__a {
    padding: 12px 16px;
    font-size: 13px;
    color: #555;
    line-height: 1.9;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.torcon-faq__a::before {
    content: 'A. ';
    color: #00155b;
    font-weight: 700;
}

/* CTA */
.torcon-cta {
    background: #f3f3f3;
    border: 1px solid #dde0e8;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}
.torcon-cta__text {
    font-size: 14px;
    font-weight: 700;
    color: #00155b;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.torcon-cta__sub {
    font-size: 12px;
    color: #888;
    font-weight: 400;
    margin-top: 4px;
}
.torcon-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.torcon-cta__btn {
    display: inline-block;
    padding: 10px 28px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    font-family: 'メイリオ', Meiryo, sans-serif;
}
.torcon-cta__btn--primary { background: #00155b; color: #fff; }
.torcon-cta__btn--tel { background: #fff; color: #00155b; border: 1px solid #00155b; }
.torcon-cta__btn:hover { opacity: .82; }

/* レスポンシブ */
@media (max-width: 768px) {
    .torcon-features { grid-template-columns: 1fr 1fr; }
    .torcon-merit-grid { grid-template-columns: 1fr; }
    .torcon-cases { grid-template-columns: 1fr; }
    .torcon-symptom__list { grid-template-columns: 1fr; }
    .torcon-cta { flex-direction: column; align-items: flex-start; }
    .torcon-cta__btns { width: 100%; flex-direction: column; }
    .torcon-cta__btn { text-align: center; }
}


/* ============================================================
   トップページ ブログカード アイキャッチ（style.css定義を無効化）
   ============================================================ */
.ap-blog-card-thumb {
    float: none;
    margin-bottom: 0;
    margin-right: 0;
}
.ap-blog-card::after {
    content: none;
}

/* ============================================================
   全ページ共通 角丸
   ============================================================ */

/* 在庫一覧・詳細 */
.uc-card,
.uc-car-card,
.uc-detail-card { border-radius: 6px; overflow: hidden; }

/* お客様の声 */
.reviews-card { border-radius: 6px; overflow: hidden; }
.reviews-count-bar { border-radius: 4px; }
.reviews-cta { border-radius: 6px; }

/* ご購入の流れ */
.step-info-card { border-radius: 4px; }
.step-payment-card { border-radius: 4px; }
.step-faq-item { border-radius: 4px; }
.step-transport-box { border-radius: 4px; }
.step-remote-banner { border-radius: 6px; }
.step-cta { border-radius: 6px; }

/* トルコン太郎 */
.torcon-lead { border-radius: 4px; }
.torcon-feature { border-radius: 4px; }
.torcon-merit { border-radius: 4px; }
.torcon-faq { border-radius: 4px; }
.torcon-case { border-radius: 4px; overflow: hidden; }
.torcon-symptom { border-radius: 4px; }
.torcon-cta { border-radius: 6px; }
.torcon-step { border-radius: 0; }

/* 会社概要 */
.about-card { border-radius: 6px; overflow: hidden; }
.about-cta { border-radius: 6px; }

/* 代表あいさつ */
.profile-card { border-radius: 6px; overflow: hidden; }
.profile-message { border-radius: 6px; }
.profile-philosophy { border-radius: 6px; }
.profile-cta { border-radius: 6px; }

/* プライバシーポリシー */
.privacy-card { border-radius: 6px; overflow: hidden; }

/* アクセス */
.access-card { border-radius: 6px; }
.access-map-wrap { border-radius: 6px; overflow: hidden; }

/* CTAボタン共通 */
.step-cta__btn,
.reviews-cta__btn,
.about-cta__btn,
.profile-cta__btn,
.access-cta__btn,
.torcon-cta__btn { border-radius: 4px; }

/* 在庫詳細・売却済み */
.uc-sold-card { border-radius: 6px; overflow: hidden; }

/* ============================================================
   トップページ ap-main 上余白を詰める
============================================================ */
.ap-main {
    padding-top: 8px !important;
}

/* ============================================================
   スマホヘッダー調整
============================================================ */
@media (max-width: 1079px) {
    .hdr__detail--center {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 0 16px !important;
        min-height: auto !important;
        position: relative !important;
    }
    .ap-hdr-top {
        padding: 8px 0 !important;
        flex: 1 !important;
        min-width: 0 !important;
    }
    .ap-hdr-logo-text {
        font-size: 26px !important;
    }
}

/* ============================================================
   uc-related カード共通スタイル（在庫一覧・関連カード共用）
============================================================ */
.uc-related-card{border:1px solid #d8d8d8;border-radius:4px;overflow:hidden;background:#fcfcfc;position:relative;cursor:pointer;transition:opacity .15s}
.uc-related-card:hover{opacity:.85}
.uc-related-card-link{position:absolute;inset:0;z-index:1}
.uc-related-card .uc-related-body *{position:relative;z-index:2}
.uc-related-thumb{position:relative;width:100%;padding-top:75%;overflow:hidden;background:#ececec;border-bottom:1px solid #d8d8d8}
.uc-related-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.uc-related-thumb-inner{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#aaa;font-size:12px}
.uc-related-body{padding:16px;font-size:13px;line-height:1.8}
.uc-related-status{display:inline-block;padding:1px 8px;border-radius:10px;font-size:11px;font-weight:700;margin-bottom:6px}
.uc-related-status--on_sale{background:#d4edda;color:#155724}
.uc-related-status--negotiating{background:#cce5ff;color:#004085}
.uc-related-status--reserved{background:#fff3cd;color:#856404}
.uc-related-name{font-weight:700;font-size:14px;line-height:1.4;color:#333;margin-bottom:2px}
.uc-related-grade{font-size:11px;color:#888;margin-bottom:8px}
.uc-related-tags{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:10px}
.uc-related-tag{background:#f0f0f0;color:#555;font-size:11px;padding:2px 7px;border-radius:3px}
.uc-related-shaken{color:#666;font-size:11px;margin-bottom:3px}
.uc-related-price{font-weight:700;color:#00155b;font-size:16px;margin-bottom:10px}
.uc-related-btn{display:block;padding:8px 0;background:#00155b;color:#fff !important;font-size:12px;font-weight:700;text-align:center;font-family:Meiryo,"Meiryo UI",sans-serif;border-radius:4px;text-decoration:none}
.uc-related-btn:hover{opacity:.85;color:#fff !important}

/* ナビゲーション：セパレーター削除・ホバー背景色削除 */
.ddmenu__list > li { border-left: none !important; }
.ddmenu__list a:hover { background: none !important; }
