/* ============================================================
   KAI-TECH カスタムCSS v2.1
   カラースキーム: オレンジ(#E8750A) + ネイビー(#1B2A4A) + 白基調
   ============================================================ */

/* --- ユーティリティ --- */
.kt-sp-only {
    display: none;
}
@media (max-width: 768px) {
    .kt-sp-only { display: inline; }
    .kt-pc-only { display: none !important; }
}

/* --- CSS Variables --- */
:root {
    --kt-orange: #E8750A;
    --kt-orange-light: #F5921E;
    --kt-orange-hover: #D06808;
    --kt-orange-bg: #FFF8F0;
    --kt-navy: #1B2A4A;
    --kt-navy-light: #2C3E5E;
    --kt-navy-dark: #0F1A2E;
    --kt-blue: #3B82C4;
    --kt-blue-accent: #2563EB;
    --kt-blue-light: #E8F1FA;
    --kt-gray-50: #F9FAFB;
    --kt-gray-100: #F3F4F6;
    --kt-gray-200: #E5E7EB;
    --kt-gray-300: #D1D5DB;
    --kt-gray-500: #6B7280;
    --kt-gray-700: #374151;
    --kt-gray-900: #111827;
    --kt-white: #FFFFFF;
    --kt-star: #F59E0B;
    --kt-feature-blue: #3B82F6;
    --kt-trust-green: #10B981;
    --kt-max-width: 1100px;
    --kt-radius: 8px;
    --kt-shadow: 0 2px 8px rgba(0,0,0,0.08);
    --kt-shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
}

/* --- Reset & Base --- */
.kt-container {
    max-width: var(--kt-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.kt-section {
    padding: 60px 0;
}

.kt-section__title {
    font-size: 26px;
    font-weight: 900;
    color: var(--kt-navy);
    text-align: center;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

.kt-section__subtitle {
    font-size: 14px;
    color: var(--kt-gray-500);
    text-align: center;
    margin-bottom: 40px;
}

/* 英語サブタイトル（about / how to） */
.kt-section__subtitle-en {
    font-size: 16px;
    font-weight: 900;
    color: var(--kt-blue-accent);
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.12em;
}

/* ============================================================
   Hero セクション（横幅いっぱい・ヘッダーとくっつく）
   ============================================================ */
.kt-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* SWELLのコンテナから飛び出して全幅にする */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -1px;
}

.kt-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.kt-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
    z-index: 0;
}

.kt-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27,42,74,0.6) 0%, rgba(27,42,74,0.45) 100%);
    z-index: 1;
}

.kt-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 50px 20px 60px;
    width: 100%;
    max-width: 680px;
}

.kt-hero__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--kt-white);
    line-height: 1.6;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.kt-hero__title-accent {
    color: var(--kt-white);
    /* デザイン通り、白のままで太字で目立つ */
}

.kt-hero__sub {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    letter-spacing: 0.04em;
}

/* --- 検索ボックス --- */
.kt-hero__search {
    background: var(--kt-white);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    overflow: hidden;
}

/* --- タブ切り替え --- */
.kt-search-tabs {
    display: flex;
    border-bottom: 1px solid var(--kt-gray-200);
}

.kt-search-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--kt-gray-500);
    background: var(--kt-gray-50);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.kt-search-tab:first-child {
    border-right: 1px solid var(--kt-gray-200);
}

.kt-search-tab.active {
    color: var(--kt-orange);
    background: var(--kt-white);
}

.kt-search-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--kt-orange);
}

.kt-search-tab__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.kt-search-tab:hover:not(.active) {
    color: var(--kt-gray-700);
    background: var(--kt-gray-100);
}

/* --- 検索フォーム --- */
.kt-search-form {
    padding: 20px 24px 16px;
}

.kt-search-form__row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.kt-search-form__field {
    flex: 1;
}

.kt-search-form__field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--kt-gray-700);
    margin-bottom: 6px;
}

.kt-search-form__icon {
    font-size: 14px;
    margin-right: 2px;
}

.kt-search-form__note {
    font-size: 12px;
    color: var(--kt-gray-500);
    text-align: center;
    margin-top: 12px;
    margin-bottom: 0;
}

.kt-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--kt-gray-300);
    border-radius: 4px;
    font-size: 14px;
    color: var(--kt-gray-700);
    background: var(--kt-white);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    transition: border-color 0.2s;
}

.kt-select:focus {
    outline: none;
    border-color: var(--kt-orange);
    box-shadow: 0 0 0 3px rgba(232,117,10,0.15);
}

.kt-select:disabled {
    background-color: var(--kt-gray-100);
    cursor: not-allowed;
}

.kt-search-form__submit {
    flex-shrink: 0;
}

/* --- ボタン共通 --- */
.kt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    line-height: 1.4;
}

.kt-btn--primary {
    background: var(--kt-orange);
    color: var(--kt-white);
    font-size: 15px;
    padding: 12px 32px;
    border-radius: 4px;
}

.kt-btn--primary:hover {
    background: var(--kt-orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232,117,10,0.3);
}

.kt-btn--search {
    white-space: nowrap;
    height: 46px;
    border-radius: 4px;
}

.kt-btn--cta {
    background: var(--kt-orange);
    color: var(--kt-white);
    font-size: 18px;
    padding: 16px 40px;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(232,117,10,0.35);
}

.kt-btn--cta:hover {
    background: var(--kt-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(232,117,10,0.4);
    color: var(--kt-white);
}

.kt-btn--navy {
    background: var(--kt-navy);
    color: var(--kt-white);
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 6px;
}

.kt-btn--navy:hover {
    background: var(--kt-navy-light);
    color: var(--kt-white);
}

/* ============================================================
   KAI-TECHとは セクション
   ============================================================ */
.kt-about {
    background: var(--kt-white);
}

.kt-about .kt-section__title {
    font-weight: 900;
}

.kt-about__description {
    text-align: center;
    color: var(--kt-gray-700);
    font-size: 16px;
    line-height: 1.9;
    max-width: 680px;
    margin: 0 auto 48px;
}

.kt-about__feature-title {
    font-size: 26px;
    font-weight: 900;
    color: var(--kt-navy);
    text-align: center;
    margin-bottom: 4px;
}

/* --- 3カラム機能（枠なし） --- */
.kt-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
}

.kt-features__item {
    text-align: center;
    padding: 0 12px;
}

.kt-features__badge {
    display: inline-block;
    padding: 6px 22px;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 700;
    color: var(--kt-white);
    margin-bottom: 16px;
}

.kt-features__badge--blue {
    background: var(--kt-blue-accent);
}

.kt-features__badge--orange {
    background: var(--kt-blue-accent);
}

.kt-features__icon {
    margin-bottom: 16px;
}

.kt-features__icon img {
    max-width: 200px;
    height: auto;
}

.kt-features__text {
    font-size: 14px;
    color: var(--kt-gray-700);
    line-height: 1.8;
    text-align: center;
}

/* ============================================================
   日本地図エリア検索セクション（地図上にテキスト配置）
   ============================================================ */
.kt-area-map {
    background: #ffffff !important;
}

.kt-japan-map {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
    min-height: 500px;
}

.kt-japan-map__img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: auto;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

/* 地域ブロック（半透明白ボックス・地図に被せる） */
.kt-japan-map__region {
    position: absolute;
    padding: 10px 14px;
    z-index: 2;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 6px;
}

.kt-japan-map__region-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--kt-navy);
    margin-bottom: 3px;
    letter-spacing: 0.04em;
}

/* 都道府県を縦並び2列グリッド */
.kt-japan-map__pref-list {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0px 10px;
}

.kt-japan-map__pref {
    font-size: 12px;
    color: #2563EB;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
    line-height: 1.9;
}

a.kt-japan-map__pref:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.kt-japan-map__pref--inactive {
    color: #93c5fd;
    cursor: default;
}

/* --- 各地域の位置（見本準拠・地図に被ってOK） --- */
.kt-japan-map__region--hokkaido {
    top: 8%;
    right: 4%;
}
.kt-japan-map__region--hokkaido .kt-japan-map__pref-list {
    grid-template-columns: auto;
}

.kt-japan-map__region--tohoku {
    top: 24%;
    right: 0%;
}

.kt-japan-map__region--kanto {
    bottom: 4%;
    right: 6%;
}

.kt-japan-map__region--hokushinetsu {
    top: 16%;
    left: 38%;
}

.kt-japan-map__region--tokai {
    bottom: 8%;
    left: 36%;
}

.kt-japan-map__region--kansai {
    top: 30%;
    left: 18%;
}

.kt-japan-map__region--chugoku {
    top: 16%;
    left: 0%;
}

.kt-japan-map__region--shikoku {
    bottom: 22%;
    left: 22%;
}

.kt-japan-map__region--kyushu {
    bottom: 14%;
    left: 0%;
}

.kt-japan-map__region--okinawa {
    bottom: 2%;
    left: 2%;
}
.kt-japan-map__region--okinawa .kt-japan-map__pref-list {
    grid-template-columns: auto;
}

/* ============================================================
   CTA セクション
   ============================================================ */
.kt-cta {
    background: var(--kt-white);
    padding: 40px 0;
}

.kt-cta__box {
    background: var(--kt-orange-bg);
    border: 2px solid var(--kt-orange);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.kt-cta__content {
    flex: 1;
}

.kt-cta__label {
    font-size: 13px;
    color: var(--kt-orange);
    font-weight: 600;
    margin-bottom: 8px;
}

.kt-cta__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--kt-navy);
    line-height: 1.5;
    margin-bottom: 12px;
}

.kt-cta__accent {
    color: var(--kt-orange);
}

.kt-cta__description {
    font-size: 14px;
    color: var(--kt-gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
}

.kt-cta__image {
    flex-shrink: 0;
}

.kt-cta__image img {
    max-width: 180px;
    height: auto;
}

/* ============================================================
   ご利用の流れ セクション
   ============================================================ */
.kt-flow {
    background: transparent;
}

.kt-flow__steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 16px;
}

.kt-flow__step {
    background: var(--kt-white);
    border-radius: var(--kt-radius);
    padding: 28px 24px;
    text-align: center;
    flex: 1;
    max-width: 280px;
    box-shadow: var(--kt-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kt-flow__number {
    display: inline-block;
    background: var(--kt-navy);
    color: var(--kt-white);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.kt-flow__icon {
    font-size: 36px;
    margin-bottom: 12px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kt-flow__icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.kt-flow__step-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--kt-navy);
    margin-bottom: 8px;
}

.kt-flow__step-text {
    font-size: 13px;
    color: var(--kt-gray-500);
    line-height: 1.7;
    margin-top: auto;
}

.kt-flow__arrow {
    color: var(--kt-gray-300);
    font-size: 24px;
    margin-top: 60px;
}

/* ============================================================
   追従CTA（スマホ用）
   ============================================================ */
.kt-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 10px 16px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
    display: none;
    text-align: center;
}

.kt-btn--sticky {
    background: var(--kt-orange);
    color: var(--kt-white);
    font-size: 16px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 16px rgba(232,117,10,0.35);
}

.kt-btn--sticky:hover {
    background: var(--kt-orange-hover);
    color: var(--kt-white);
}

/* ============================================================
   星評価
   ============================================================ */
.kt-stars {
    display: inline-flex;
    gap: 1px;
    font-size: 16px;
}

.kt-star.filled {
    color: var(--kt-star);
}

.kt-star.half {
    color: var(--kt-star);
    opacity: 0.6;
}

.kt-star.empty {
    color: var(--kt-gray-300);
}

/* ============================================================
   業者カード（一覧ページ用）
   ============================================================ */
.kt-corp-card {
    display: flex;
    gap: 20px;
    background: var(--kt-white);
    border: 1px solid var(--kt-gray-200);
    border-radius: var(--kt-radius);
    padding: 20px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
}

.kt-corp-card:hover {
    box-shadow: var(--kt-shadow-lg);
}

.kt-corp-card__image {
    width: 180px;
    height: 130px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.kt-corp-card__body {
    flex: 1;
}

.kt-corp-card__name {
    font-size: 17px;
    font-weight: 700;
    color: var(--kt-navy);
    margin-bottom: 6px;
}

.kt-corp-card__name a {
    color: inherit;
    text-decoration: none;
}

.kt-corp-card__name a:hover {
    color: var(--kt-orange);
}

.kt-corp-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 14px;
}

.kt-corp-card__rating-num {
    font-weight: 700;
    color: var(--kt-star);
}

.kt-corp-card__rating-count {
    color: var(--kt-gray-500);
    font-size: 12px;
}

.kt-corp-card__meta {
    font-size: 13px;
    color: var(--kt-gray-500);
    margin-bottom: 4px;
}

.kt-corp-card__meta span {
    margin-right: 16px;
}

.kt-corp-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 10px;
}

.kt-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.kt-tag--feature {
    background: #fff;
    color: #1E40AF;
    border: 1px solid #DBEAFE;
}

.kt-tag--trust {
    background: #D1FAE5;
    color: var(--kt-trust-green);
}

/* ============================================================
   フィルタサイドバー（業者一覧ページ用）
   ============================================================ */
.kt-filter {
    background: var(--kt-white);
    border: 1px solid var(--kt-gray-200);
    border-radius: var(--kt-radius);
    padding: 20px;
}

.kt-filter__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--kt-navy);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--kt-orange);
}

.kt-filter__group {
    margin-bottom: 20px;
}

.kt-filter__group-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--kt-gray-700);
    margin-bottom: 8px;
}

.kt-filter__checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--kt-gray-700);
    cursor: pointer;
}

.kt-filter__checkbox input[type="checkbox"] {
    accent-color: var(--kt-orange);
    width: 16px;
    height: 16px;
}

.kt-btn--filter {
    background: var(--kt-navy);
    color: var(--kt-white);
    font-size: 14px;
    padding: 10px 24px;
    width: 100%;
    border-radius: 6px;
}

.kt-btn--filter:hover {
    background: var(--kt-navy-light);
    color: var(--kt-white);
}

/* SP用フィルタ開閉トグル */
.kt-filter-toggle {
    display: none;  /* PCでは非表示 */
}

/* PC: フィルタ本体は常時表示 */
.kt-filter__body {
    display: block;
}

/* ============================================================
   業者詳細ページ
   ============================================================ */
.kt-detail__header {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.kt-detail__gallery {
    width: 400px;
    flex-shrink: 0;
}

.kt-detail__gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--kt-radius);
}

.kt-detail__info {
    flex: 1;
}

.kt-detail__company-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--kt-navy);
    margin-bottom: 8px;
}

.kt-detail__license {
    font-size: 13px;
    color: var(--kt-gray-500);
    margin-bottom: 12px;
}

.kt-detail__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
}

.kt-detail__table th {
    background: var(--kt-gray-50);
    font-weight: 600;
    font-size: 13px;
    color: var(--kt-gray-700);
    padding: 10px 14px;
    border: 1px solid var(--kt-gray-200);
    width: 140px;
    text-align: left;
}

.kt-detail__table td {
    font-size: 14px;
    color: var(--kt-gray-700);
    padding: 10px 14px;
    border: 1px solid var(--kt-gray-200);
}

.kt-detail__feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 32px;
}

.kt-detail__feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
}

.kt-detail__feature-item--feature {
    background: var(--kt-blue-light);
    color: var(--kt-navy);
}

.kt-detail__feature-item--trust {
    background: #D1FAE5;
    color: var(--kt-navy);
}

.kt-detail__feature-item .check {
    color: var(--kt-feature-blue);
    font-weight: 700;
}

.kt-detail__feature-item--trust .check {
    color: var(--kt-trust-green);
}

.kt-detail__feature-item--inactive {
    opacity: 0.4;
}

/* 口コミセクション */
.kt-review {
    background: var(--kt-gray-50);
    border-radius: var(--kt-radius);
    padding: 20px;
    margin-bottom: 16px;
}

.kt-review__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.kt-review__user {
    font-weight: 700;
    color: var(--kt-navy);
    font-size: 14px;
}

.kt-review__date {
    font-size: 12px;
    color: var(--kt-gray-500);
}

.kt-review__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--kt-gray-900);
    margin-bottom: 6px;
}

.kt-review__content {
    font-size: 14px;
    color: var(--kt-gray-700);
    line-height: 1.7;
}

.kt-review__work-type {
    font-size: 12px;
    color: var(--kt-gray-500);
    margin-top: 8px;
}

/* ============================================================
   0件表示
   ============================================================ */
.kt-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--kt-gray-50);
    border-radius: var(--kt-radius);
}

.kt-empty__text {
    font-size: 16px;
    color: var(--kt-gray-500);
    margin-bottom: 24px;
}

/* ============================================================
   ページネーション
   ============================================================ */
.kt-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
}

.kt-pagination a,
.kt-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.kt-pagination a {
    background: var(--kt-white);
    border: 1px solid var(--kt-gray-200);
    color: var(--kt-gray-700);
}

.kt-pagination a:hover {
    border-color: var(--kt-orange);
    color: var(--kt-orange);
}

.kt-pagination .current {
    background: var(--kt-orange);
    color: var(--kt-white);
    border: 1px solid var(--kt-orange);
}

/* ============================================================
   サイドバー付きレイアウト
   ============================================================ */
.kt-layout-with-sidebar {
    display: flex;
    gap: 28px;
    padding: 32px 0;
}

.kt-layout__sidebar {
    width: 260px;
    flex-shrink: 0;
}

.kt-layout__main {
    flex: 1;
    min-width: 0;
}

/* ============================================================
   エリアブロック（都道府県ページ用）
   ============================================================ */
.kt-area-block {
    margin-bottom: 28px;
    padding: 20px;
    background: var(--kt-white);
    border-radius: var(--kt-radius);
    border: 1px solid var(--kt-gray-200);
}

.kt-area-block__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--kt-navy);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--kt-orange);
}

.kt-area-block__cities {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.kt-area-block__cities li {
    font-size: 14px;
}

.kt-area-block__cities a {
    color: var(--kt-gray-700);
    text-decoration: none;
    transition: color 0.2s;
}

.kt-area-block__cities a:hover {
    color: var(--kt-orange);
}

/* ============================================================
   パンくず・ページヘッダー共通
   ============================================================ */
.kt-breadcrumb {
    background: var(--kt-gray-50);
    padding: 10px 0;
    font-size: 12px;
    color: var(--kt-gray-500);
}

.kt-breadcrumb a {
    color: var(--kt-gray-500);
    text-decoration: none;
}

.kt-breadcrumb a:hover {
    color: var(--kt-orange);
}

.kt-page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--kt-navy);
    margin: 24px 0 8px;
}

.kt-page-title__count {
    font-size: 16px;
    font-weight: 400;
    color: var(--kt-gray-500);
}

.kt-page-lead {
    font-size: 14px;
    color: var(--kt-gray-500);
    margin-bottom: 24px;
}

/* ============================================================
   施工事例リンク
   ============================================================ */
.kt-case-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kt-case-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--kt-gray-50);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.kt-case-link:hover {
    background: var(--kt-blue-light);
}

.kt-case-link__price {
    font-weight: 700;
    color: var(--kt-orange);
    font-size: 15px;
    white-space: nowrap;
}

.kt-case-link__detail {
    font-size: 13px;
    color: var(--kt-gray-700);
}

/* ============================================================
   自由記載エリア
   ============================================================ */
.kt-freetext {
    background: var(--kt-white);
    border-radius: var(--kt-radius);
    padding: 24px;
    line-height: 1.8;
    font-size: 14px;
    color: var(--kt-gray-700);
}

.kt-freetext h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--kt-navy);
    margin: 20px 0 8px;
}

.kt-freetext p {
    margin-bottom: 12px;
}

/* ============================================================
   SWELL テーマ上書き
   ============================================================ */
.p-breadcrumb {
    font-size: 12px;
}

/* カスタムテンプレート内パンくず: JSでヘッダー直下に移動済み */

/* ヘッダー下線（影ではなく細線に） */
.l-header {
    border-bottom: 1px solid var(--kt-gray-200) !important;
    box-shadow: none !important;
}

/* 追従ヘッダーの影も消す */
.l-fixHeader .l-header,
.l-header.-fixed {
    box-shadow: none !important;
    border-bottom: 1px solid var(--kt-gray-200) !important;
}

/* パンくず背景を白に */
.p-breadcrumb.-bg-on {
    background: #fff !important;
    border-bottom: 1px solid var(--kt-gray-200);
}

/* カスタムテンプレートページのサイドバーを強制非表示 */
.page-template-page-price .l-sidebar,
.page-template-page-corporation .l-sidebar,
body.kt-custom-page .l-sidebar {
    display: none !important;
}
.page-template-page-price .l-mainContent,
.page-template-page-corporation .l-mainContent,
body.kt-custom-page .l-mainContent {
    max-width: 100% !important;
    flex: 1 !important;
}

/* Heroとヘッダーの間のマージンを消す（SWELLのmain余白を上書き） */
.home .l-mainContent__inner > .post_content,
.home .l-mainContent__inner {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* SWELLのmainラッパーの余白も消す */
.home #content,
.home .l-main,
.home .l-mainContent {
    padding-top: 0 !important;
}

/* SWELLのコンテナ幅制限を解除（トップページのみ） */
.home .l-mainContent__inner,
.home .post_content {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ============================================================
   PCグローバルナビ CTAボタン
   ============================================================ */
.kt-nav-cta {
    margin-left: 20px !important;
    display: flex !important;
    align-items: center !important;
    align-self: center !important;
    height: auto !important;
    flex: none !important;
    padding: 0 !important;
}

.kt-nav-cta > a,
.kt-nav-cta__link,
a.kt-nav-cta__link {
    display: inline-block !important;
    background: var(--kt-orange) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 12px 28px !important;
    border-radius: 24px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: background 0.2s !important;
    line-height: 1.4 !important;
    letter-spacing: 0.02em !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 0 !important;
    width: auto !important;
    flex: none !important;
    position: relative !important;
}

.kt-nav-cta > a:hover,
.kt-nav-cta__link:hover,
a.kt-nav-cta__link:hover {
    background: var(--kt-orange-hover) !important;
    color: #fff !important;
    opacity: 1 !important;
}

.l-fixHeader .kt-nav-cta > a,
.l-fixHeader .kt-nav-cta__link,
.l-fixHeader a.kt-nav-cta__link {
    background: var(--kt-orange) !important;
    color: #fff !important;
    padding: 12px 28px !important;
    font-size: 14px !important;
    border-radius: 24px !important;
    height: auto !important;
    line-height: 1.4 !important;
}

/* ============================================================
   CTA v2（添付HTML準拠デザイン）
   ============================================================ */
.kt-cta-v2 {
    padding: 40px 0;
}

.kt-cta-v2__box {
    background: linear-gradient(135deg, #e3f2fd 0%, #f1f8ff 100%);
    border: 2px solid #bce0fd;
    border-radius: 12px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 720px;
    margin: 0 auto;
}

.kt-cta-v2__content {
    flex: 1;
    min-width: 0;
}

.kt-cta-v2__badge {
    display: inline-block;
    background: #fff;
    color: #d32f2f;
    border: 1px solid #d32f2f;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.kt-cta-v2__title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin-bottom: 10px;
    white-space: nowrap;
}

.kt-cta-v2__highlight {
    color: #0056b3;
}

.kt-cta-v2__marker {
    color: #d32f2f;
    font-weight: 700;
    background: linear-gradient(transparent 70%, #ffeb3b 70%);
}

.kt-cta-v2__description {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.kt-cta-v2__button-wrap {
    max-width: 380px;
    margin: 0 auto;
}

.kt-cta-v2__button {
    display: block;
    width: 100%;
    background: #ff6b00;
    color: var(--kt-white);
    text-decoration: none;
    border-radius: 8px;
    padding: 14px 20px;
    text-align: center;
    box-shadow: 0 4px 0 #cc5500;
    transition: transform 0.1s, box-shadow 0.1s;
}

.kt-cta-v2__button:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #cc5500;
    color: var(--kt-white);
    opacity: 0.95;
}

.kt-cta-v2__btn-sub {
    display: block;
    font-size: 12px;
    color: #ffe0b2;
    margin-bottom: 2px;
    letter-spacing: 0.05em;
}

.kt-cta-v2__btn-main {
    font-size: 20px;
    font-weight: 700;
}

.kt-cta-v2__btn-arrow {
    margin-left: 10px;
}

.kt-cta-v2__note {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
    text-align: center;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.kt-cta-v2__image {
    flex-shrink: 0;
    align-self: center;
}

.kt-cta-v2__image img {
    width: 140px;
    height: auto;
    display: block;
}

/* ============================================================
   都道府県ページ v2
   ============================================================ */
.kt-pref-header {
    padding: 40px 0 32px;
    text-align: center;
}

.kt-pref-header__title {
    font-size: 26px;
    font-weight: 900;
    color: var(--kt-navy);
    margin-bottom: 14px;
}

.kt-pref-header__accent {
    color: #2563EB;
}

.kt-pref-header__lead {
    font-size: 14px;
    color: var(--kt-gray-500);
    line-height: 1.8;
}

.kt-pref-header__count {
    color: var(--kt-orange);
    font-weight: 700;
    font-size: 16px;
}

.kt-pref-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--kt-navy);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kt-pref-section-title__bar {
    display: inline-block;
    width: 4px;
    height: 24px;
    background: var(--kt-orange);
    border-radius: 2px;
}

/* --- 市区町村グリッド --- */
.kt-city-group {
    margin-bottom: 24px;
}

.kt-city-group__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--kt-gray-700);
    padding: 8px 0;
    border-bottom: 1px solid var(--kt-gray-200);
    margin-bottom: 12px;
}

.kt-city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    margin-bottom: 8px;
}

.kt-city-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 10px 14px;
    background: var(--kt-white);
    border: 1px solid var(--kt-gray-200);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
}

.kt-city-card:hover {
    border-color: #2563EB;
    background: #f0f5ff;
}

.kt-city-card__name {
    color: #2563EB;
    font-weight: 400;
}

.kt-city-card__count {
    color: var(--kt-gray-500);
    font-size: 12px;
}

/* --- おすすめ業者 --- */
.kt-recommend-section {
    background: var(--kt-orange-bg);
    border-top: 2px solid var(--kt-orange);
}

.kt-recommend-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.kt-recommend-header__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--kt-navy);
}

.kt-recommend-header__pr {
    font-size: 11px;
    color: var(--kt-gray-500);
    border: 1px solid var(--kt-gray-300);
    padding: 2px 8px;
    border-radius: 3px;
}

.kt-recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.kt-recommend-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--kt-white);
    border: 1px solid var(--kt-gray-200);
    border-radius: var(--kt-radius);
    padding: 14px;
}

.kt-recommend-card__logo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: var(--kt-gray-100);
}

.kt-recommend-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kt-recommend-card__body {
    flex: 1;
    min-width: 0;
}

.kt-recommend-card__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--kt-navy);
    margin-bottom: 2px;
}

.kt-recommend-card__name a {
    color: #2563EB;
    text-decoration: none;
}

.kt-recommend-card__name a:hover {
    text-decoration: underline;
}

.kt-recommend-card__desc {
    font-size: 11px;
    color: var(--kt-gray-500);
    margin-bottom: 2px;
}

.kt-recommend-card__rating {
    font-size: 12px;
    color: var(--kt-orange);
    font-weight: 600;
}

.kt-recommend-card__btn {
    flex-shrink: 0;
    background: var(--kt-orange);
    color: var(--kt-white);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
}

.kt-recommend-card__btn:hover {
    background: var(--kt-orange-hover);
    color: var(--kt-white);
}

/* ============================================================
   業者カード v2（市区町村一覧ページ）
   ============================================================ */
.kt-corp-card-v2 {
    background: var(--kt-white);
    border: 1px solid var(--kt-gray-200);
    border-radius: var(--kt-radius);
    margin-bottom: 20px;
    overflow: hidden;
}

.kt-corp-card-v2__top {
    display: flex;
    gap: 16px;
    padding: 20px;
}

.kt-corp-card-v2__image {
    width: 120px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: var(--kt-gray-100);
}

.kt-corp-card-v2__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kt-corp-card-v2__body {
    flex: 1;
    min-width: 0;
}

.kt-corp-card-v2__name {
    font-size: 17px;
    font-weight: 700;
    color: var(--kt-navy);
    margin-bottom: 4px;
}

.kt-corp-card-v2__name a {
    color: inherit;
    text-decoration: none;
}

.kt-corp-card-v2__name a:hover {
    color: var(--kt-orange);
}

.kt-corp-card-v2__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
    font-size: 14px;
}

.kt-corp-card-v2__rating-num {
    font-weight: 700;
    color: var(--kt-star);
}

.kt-corp-card-v2__rating-count {
    font-size: 12px;
    color: var(--kt-gray-500);
}

.kt-corp-card-v2__meta {
    font-size: 13px;
    color: var(--kt-gray-500);
    margin-bottom: 3px;
}

.kt-corp-card-v2__tags {
    margin-top: 8px;
}

.kt-corp-card-v2__tag-label {
    font-size: 11px;
    color: var(--kt-gray-500);
    margin-bottom: 4px;
}

.kt-corp-card-v2__tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}

.kt-corp-card-v2__actions {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid var(--kt-gray-200);
}

.kt-corp-card-v2__btn {
    flex: 1;
    padding: 12px 14px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    border-radius: 6px;
}

.kt-corp-card-v2__btn--detail {
    background: var(--kt-white);
    color: var(--kt-navy);
    border: 2px solid var(--kt-gray-300);
}

.kt-corp-card-v2__btn--detail:hover {
    background: var(--kt-gray-50);
    border-color: #2563EB;
    color: #2563EB;
}

.kt-corp-card-v2__btn--cta {
    background: var(--kt-orange);
    color: var(--kt-white);
    border: 2px solid var(--kt-orange);
}

.kt-corp-card-v2__btn--cta:hover {
    background: var(--kt-orange-hover);
    border-color: var(--kt-orange-hover);
    color: var(--kt-white);
}

/* --- ポイントTips Box --- */
.kt-tips-box {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-left: 4px solid #2563EB;
    border-radius: 8px;
    padding: 18px 22px;
    margin-bottom: 24px;
}

.kt-tips-box__title {
    font-size: 15px;
    font-weight: 700;
    color: #2563EB;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kt-tips-box__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: #2563EB;
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    font-style: italic;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1;
}

.kt-tips-box__text {
    font-size: 13px;
    color: var(--kt-gray-700);
    line-height: 1.7;
}

/* ============================================================
   業者詳細 v2
   ============================================================ */
.kt-detail-layout {
    display: flex;
    gap: 32px;
    padding: 28px 0 40px;
}

.kt-detail-layout__main {
    flex: 1;
    min-width: 0;
}

.kt-detail-layout__sidebar {
    width: 280px;
    flex-shrink: 0;
}

.kt-detail-v2__header {
    margin-bottom: 4px;
}

.kt-detail-v2__city-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--kt-blue);
    border: 1px solid var(--kt-blue);
    border-radius: 3px;
    padding: 2px 10px;
    margin-bottom: 8px;
}

.kt-detail-v2__name {
    font-size: 24px;
    font-weight: 700;
    color: var(--kt-navy);
    margin-bottom: 8px;
}

.kt-detail-v2__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    margin-bottom: 6px;
}

.kt-detail-v2__rating-count {
    color: var(--kt-gray-500);
    font-size: 12px;
}

.kt-detail-v2__license {
    font-size: 13px;
    color: var(--kt-gray-500);
}

.kt-detail-v2__divider {
    border: none;
    border-top: 1px solid var(--kt-gray-200);
    margin: 24px 0;
}

.kt-detail-v2__section {
    margin-bottom: 4px;
}

.kt-detail-v2__section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--kt-navy);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--kt-orange);
    display: inline-block;
}

.kt-detail-v2__tag-category {
    font-size: 12px;
    color: var(--kt-gray-500);
    margin-bottom: 6px;
}

.kt-detail-v2__tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

/* アウトラインタグ（詳細ページ用） */
.kt-tag-outline {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid;
}

.kt-tag-outline--blue {
    border-color: var(--kt-feature-blue);
    color: var(--kt-feature-blue);
    background: rgba(59,130,246,0.05);
}

.kt-tag-outline--green {
    border-color: var(--kt-trust-green);
    color: var(--kt-trust-green);
    background: rgba(16,185,129,0.05);
}

/* サイドバーCTA */
.kt-detail-sidebar-cta {
    background: var(--kt-gray-50);
    border: 1px solid var(--kt-gray-200);
    border-radius: var(--kt-radius);
    padding: 24px;
    position: sticky;
    top: 100px;
}

.kt-detail-sidebar-cta__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--kt-navy);
    text-align: center;
    margin-bottom: 14px;
}

.kt-detail-sidebar-cta__btn {
    display: block;
    background: var(--kt-orange);
    color: var(--kt-white);
    font-size: 15px;
    font-weight: 700;
    padding: 16px;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    line-height: 1.5;
    transition: all 0.2s;
}

.kt-detail-sidebar-cta__btn:hover {
    background: var(--kt-orange-hover);
    color: var(--kt-white);
}

.kt-detail-sidebar-cta__note {
    font-size: 11px;
    color: var(--kt-gray-500);
    line-height: 1.6;
    margin-top: 12px;
}

/* 口コミ v2 */
.kt-review-v2 {
    padding: 16px 0;
    border-bottom: 1px solid var(--kt-gray-200);
}

.kt-review-v2:last-child {
    border-bottom: none;
}

.kt-review-v2__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--kt-navy);
    margin-bottom: 6px;
}

.kt-review-v2__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.kt-review-v2__user {
    font-size: 13px;
    font-weight: 600;
    color: var(--kt-gray-700);
}

.kt-review-v2__content {
    font-size: 14px;
    color: var(--kt-gray-700);
    line-height: 1.8;
}

.kt-review-v2__date {
    font-size: 12px;
    color: var(--kt-gray-500);
    margin-top: 8px;
}

/* ============================================================
   レスポンシブ対応
   ============================================================ */
@media (max-width: 768px) {
    .kt-hero__title {
        font-size: 22px;
    }

    .kt-hero__inner {
        padding: 36px 16px 44px;
        max-width: 100%;
    }

    .kt-hero__search {
        margin: 0 -4px;
    }

    .kt-search-form {
        padding: 16px;
    }

    .kt-search-form__row {
        flex-direction: column;
        align-items: stretch;
    }

    .kt-search-form__field {
        width: 100%;
    }

    .kt-search-form__submit {
        width: 100%;
    }

    .kt-search-form__submit .kt-btn {
        width: 100%;
    }

    .kt-features {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* 地図セクション：SP時はリスト表示に切り替え */
    .kt-japan-map {
        min-height: auto;
        aspect-ratio: auto;
        padding: 0;
    }

    .kt-japan-map__img {
        display: none;
    }

    .kt-japan-map__region {
        position: static !important;
        margin-bottom: 24px;
        border-radius: 0 !important;
        padding: 0;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .kt-japan-map__region:last-child {
        margin-bottom: 0;
    }

    .kt-japan-map__region-name {
        font-size: 14px;
        font-weight: 700;
        color: var(--kt-gray-700);
        margin-bottom: 12px;
        padding: 8px 0;
        border-bottom: 1px solid var(--kt-gray-200);
        text-align: left;
    }

    .kt-japan-map__pref-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .kt-japan-map__pref {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 14px;
        background: var(--kt-white);
        border: 1px solid var(--kt-gray-200);
        border-radius: 6px;
        font-size: 14px;
        line-height: 1.5;
        text-decoration: none !important;
        color: #2563EB;
        transition: all 0.2s;
        white-space: nowrap;
    }

    a.kt-japan-map__pref:hover {
        border-color: #2563EB;
        background: #f0f5ff;
        text-decoration: none;
    }

    .kt-japan-map__pref--inactive {
        color: #93c5fd;
        border-color: #e5e7eb;
        background: #fafafa;
    }

    /* CTA v2 */
    .kt-cta-v2__box {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
        gap: 16px;
    }
    .kt-cta-v2__title {
        font-size: 20px;
        white-space: normal;
    }
    .kt-cta-v2__button-wrap {
        max-width: 100%;
        margin: 0 auto;
    }
    .kt-cta-v2__button {
        margin: 0 auto;
    }
    .kt-cta-v2__note {
        text-align: center;
    }
    .kt-cta-v2__image {
        display: none;
    }

    /* 旧CTA */
    .kt-cta__box {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
    }

    .kt-flow__steps {
        flex-direction: column;
        align-items: center;
    }

    .kt-flow__arrow {
        transform: rotate(90deg);
        margin: 0;
    }

    .kt-flow__step {
        max-width: 340px;
        width: 100%;
    }

    .kt-sticky-cta {
        display: block;
    }

    /* 業者カード v2 */
    .kt-corp-card-v2__top {
        flex-direction: column;
    }
    .kt-corp-card-v2__image {
        width: 100%;
        height: 160px;
    }
    .kt-corp-card-v2__actions {
        flex-direction: column;
    }

    /* 旧カード */
    .kt-corp-card {
        flex-direction: column;
    }
    .kt-corp-card__image {
        width: 100%;
        height: 180px;
    }

    /* 詳細ページ v2 */
    .kt-detail-layout {
        flex-direction: column;
    }
    .kt-detail-layout__sidebar {
        width: 100%;
        order: -1;
    }
    .kt-detail-sidebar-cta {
        position: static;
    }

    /* 旧詳細 */
    .kt-detail__header {
        flex-direction: column;
    }
    .kt-detail__gallery {
        width: 100%;
    }
    .kt-detail__feature-list {
        grid-template-columns: 1fr;
    }

    /* 都道府県ページ */
    .kt-city-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    .kt-recommend-grid {
        grid-template-columns: 1fr;
    }

    /* レイアウト（サイドバー下に） */
    .kt-layout-with-sidebar {
        flex-direction: column;
    }
    .kt-layout__sidebar {
        width: 100%;
        order: -1;
    }

    /* SP用フィルタ開閉トグル */
    .kt-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 12px 16px;
        background: var(--kt-white);
        border: 2px solid var(--kt-orange);
        border-radius: 8px;
        font-size: 14px;
        font-weight: 700;
        color: var(--kt-orange);
        cursor: pointer;
    }
    .kt-filter-toggle__icon {
        font-size: 10px;
        transition: transform 0.2s;
    }
    .kt-filter-toggle__icon::after {
        content: "\25BC";
    }
    .kt-filter-toggle[aria-expanded="true"] .kt-filter-toggle__icon {
        transform: rotate(180deg);
    }
    .kt-filter__body {
        display: none;
        margin-top: 16px;
    }
    .kt-filter__body.is-open {
        display: block;
    }
    .kt-filter {
        border: none;
        padding: 0;
    }

    .kt-section {
        padding: 40px 0;
    }
    .kt-cta__title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .kt-hero__title {
        font-size: 20px;
    }

    .kt-search-tab {
        font-size: 13px;
        padding: 12px 0;
    }

    .kt-city-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   CTA v2: キャラクター配置
   ============================================================ */
/* PC用キャラ（横配置）はデスクトップのみ表示 */
.kt-cta-v2__character-sp {
    display: none;
}

/* ============================================================
   PC グローバルナビ: 太字
   ============================================================ */
.l-header .c-gnav > li > a,
.l-header__gnav .c-gnav > li > a,
.p-globalNav > ul > li > a,
#gnav a {
    font-weight: 700 !important;
}

/* SWELLのgnav内CTAボタン: 引き伸ばし防止 */
.c-gnav > .kt-nav-cta,
.c-gnav > li.kt-nav-cta {
    align-self: center !important;
    height: auto !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 0 0 12px !important;
}

.c-gnav > .kt-nav-cta > a,
.c-gnav > li.kt-nav-cta > a {
    display: inline-block !important;
    height: auto !important;
    padding: 12px 28px !important;
    background: var(--kt-orange) !important;
    color: #fff !important;
    border-radius: 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    min-height: 0 !important;
    align-items: initial !important;
}

/* ============================================================
   スマホ: SWELLドロワーメニューのMENUヘッダーを非表示
   ============================================================ */
@media (max-width: 768px) {
    /* MENUタイトルバー（ネイビー/ティール背景）を非表示 */
    .p-spMenu .c-widget__title,
    .p-spMenu__nav .c-widget__title,
    .p-spMenu .widget_nav_menu .c-widget__title,
    .p-spMenu .c-widget__title.-spmenu,
    .c-widget__title.-spmenu {
        display: none !important;
    }

    /* CTA v2: スマホ用キャラ表示（ボタンの上端に足が乗る演出） */
    .kt-cta-v2__character-sp {
        display: block !important;
        text-align: center;
        position: relative;
        z-index: 10;
        margin-bottom: -20px;
    }
    .kt-cta-v2__character-sp img {
        width: 100px;
        height: auto;
        display: inline-block;
    }

    /* PC用キャラは非表示 */
    .kt-cta-v2__image {
        display: none !important;
    }

    /* ボタン：キャラの足元分だけ上に余白 */
    .kt-cta-v2__button-wrap {
        position: relative;
        z-index: 1;
    }
    .kt-cta-v2__button-wrap .kt-cta-v2__button {
        padding-top: 24px !important;
    }
}

/* SWELLの追従ヘッダーとCTAの競合回避 */
@media (max-width: 768px) {
    .l-fixHeader {
        z-index: 1000;
    }

    .kt-sticky-cta {
        z-index: 999;
    }

    body {
        padding-bottom: 70px;
    }
}


/* ============================================================
   P-007 / P-008: 解体費用相場ページ
   ============================================================ */

/* --- ヘッダー（共通: 白背景） --- */
.kt-price-header {
    background: #fff;
    padding: 36px 0 24px;
    text-align: center;
}

/* P-008: 市区町村ページはタイトル左寄せ・下余白を詰める */
.kt-price-header--white {
    text-align: left;
    padding: 36px 0 8px;
}

.kt-price-header__title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.5;
    color: var(--kt-navy);
}

.kt-price-header__accent {
    color: var(--kt-orange);
    font-weight: 700;
}

.kt-price-header__lead {
    font-size: 13px;
    color: var(--kt-gray-500);
    line-height: 1.8;
}

/* ---------- P-007 価格オーバービュー ---------- */
/* デザイン: 全体がネイビー背景の角丸カード。左に坪単価、右に構造別目安。 */
.kt-price-overview--pref {
    display: flex;
    align-items: stretch;
    background: var(--kt-navy);
    border-radius: 12px;
    overflow: hidden;
}

.kt-price-overview--pref .kt-price-overview__main {
    flex: 1;
    padding: 28px 32px;
}

.kt-price-overview--pref .kt-price-overview__label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.kt-price-overview--pref .kt-price-overview__value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}

.kt-price-overview--pref .kt-price-overview__num {
    font-size: 52px;
    font-weight: 800;
    color: var(--kt-orange);
    line-height: 1;
}

.kt-price-overview--pref .kt-price-overview__unit {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.kt-price-overview--pref .kt-price-overview__nodata {
    font-size: 18px;
    color: rgba(255,255,255,0.5);
}

.kt-price-overview--pref .kt-price-overview__note {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}

.kt-price-overview--pref .kt-price-overview__side {
    width: 240px;
    flex-shrink: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(255,255,255,0.12);
}

.kt-price-overview--pref .kt-price-overview__side-title {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    text-align: center;
    margin-bottom: 14px;
    letter-spacing: 0.04em;
}

.kt-price-overview--pref .kt-price-overview__table {
    width: 100%;
    border-collapse: collapse;
}

.kt-price-overview--pref .kt-price-overview__table th,
.kt-price-overview--pref .kt-price-overview__table td {
    padding: 7px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.kt-price-overview--pref .kt-price-overview__table th {
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    text-align: left;
    padding-left: 4px;
}

.kt-price-overview--pref .kt-price-overview__table td {
    color: #fff;
    font-weight: 700;
    text-align: right;
    padding-right: 4px;
}

.kt-price-overview--pref .kt-price-overview__table tr:last-child th,
.kt-price-overview--pref .kt-price-overview__table tr:last-child td {
    border-bottom: none;
}

/* ---------- P-008 価格オーバービュー ---------- */
/* デザイン: #2563EB→#1E40AFグラデ背景。全体白文字。 */
.kt-price-overview--city {
    display: flex;
    align-items: stretch;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
}

.kt-price-overview--city .kt-price-overview__main {
    flex: 1;
    padding: 24px 28px;
}

.kt-price-overview--city .kt-price-overview__label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
}

.kt-price-overview--city .kt-price-overview__value {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 6px;
}

.kt-price-overview--city .kt-price-overview__num {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.kt-price-overview--city .kt-price-overview__range-sep {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 2px;
}

.kt-price-overview--city .kt-price-overview__unit {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-left: 2px;
}

.kt-price-overview--city .kt-price-overview__nodata {
    font-size: 18px;
    color: rgba(255,255,255,0.5);
}

.kt-price-overview--city .kt-price-overview__note {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}

.kt-price-overview--city .kt-price-overview__side {
    width: 220px;
    flex-shrink: 0;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.kt-price-overview--city .kt-price-overview__table {
    width: 100%;
    border-collapse: collapse;
}

.kt-price-overview--city .kt-price-overview__table th,
.kt-price-overview--city .kt-price-overview__table td {
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.kt-price-overview--city .kt-price-overview__table th {
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    text-align: left;
}

.kt-price-overview--city .kt-price-overview__table td {
    color: #fff;
    font-weight: 700;
    text-align: right;
}

.kt-price-overview--city .kt-price-overview__table tr:last-child th,
.kt-price-overview--city .kt-price-overview__table tr:last-child td {
    border-bottom: none;
}

/* レスポンシブテーブル */
.kt-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* --- 相場早見表 --- */
.kt-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.kt-price-table thead th {
    background: #f0f3f8;
    color: var(--kt-navy);
    padding: 11px 14px;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
    border-bottom: 1px solid #dde2ea;
}

.kt-price-table thead th:first-child {
    text-align: left;
}

.kt-price-table tbody td {
    padding: 11px 14px;
    border-bottom: 1px solid #e8ecf1;
    text-align: center;
    color: var(--kt-gray-700);
}

.kt-price-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--kt-navy);
    white-space: nowrap;
}

.kt-price-table tbody tr:hover {
    background: #f8faff;
}

/* --- 付帯工事費用テーブル --- */
.kt-ancillary-table-wrap {
    border: 1px solid #dde2ea;
    border-radius: 8px;
    overflow: hidden;
}

.kt-ancillary-table {
    width: 100%;
    border-collapse: collapse;
}

.kt-ancillary-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #e8ecf1;
    font-size: 14px;
    color: var(--kt-gray-700);
}

.kt-ancillary-table tr:last-child td {
    border-bottom: none;
}

.kt-ancillary-table__price {
    text-align: right;
    font-weight: 700;
    color: var(--kt-navy);
    white-space: nowrap;
}

.kt-ancillary-table__note {
    font-size: 12px;
    color: #999;
    text-align: right;
    margin-top: 8px;
}

/* --- 事例フィルタータブ（P-008内） --- */
.kt-case-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.kt-case-filter-tab {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #d1d5db;
    background: #fff;
    color: var(--kt-gray-500);
    cursor: pointer;
    transition: all 0.15s;
}

.kt-case-filter-tab:hover {
    border-color: #3B82F6;
    color: #3B82F6;
    background: #f0f5ff;
}

.kt-case-filter-tab.is-active {
    background: #3B82F6;
    border-color: #3B82F6;
    color: #fff;
}

/* --- 事例一覧テーブル（P-008内） --- */
.kt-case-list-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.kt-case-list-table thead th {
    background: #f0f3f8;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 13px;
    color: var(--kt-gray-500);
    text-align: left;
    border-bottom: 1px solid #dde2ea;
    white-space: nowrap;
}

.kt-case-list-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #e8ecf1;
    vertical-align: middle;
}

.kt-case-list-table__cost {
    font-weight: 700;
    color: var(--kt-orange);
    white-space: nowrap;
}

.kt-case-list-table__link {
    color: #3B82F6;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.kt-case-list-table__link:hover {
    text-decoration: underline;
}

.kt-case-list-table tbody tr:hover {
    background: #fafbfd;
}


/* ============================================================
   P-009: 見積もり事例詳細
   ============================================================ */

.kt-case-detail {
    padding: 40px 0;
}

/* タグ */
.kt-case-detail__tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.kt-case-detail__tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.kt-case-detail__tag--area {
    background: #fff;
    color: #1E40AF;
    border: 1px solid #DBEAFE;
}

.kt-case-detail__tag--area:hover {
    background: #EFF6FF;
    color: #1E40AF;
}

.kt-case-detail__tag--structure {
    background: #e8f0fe;
    color: var(--kt-navy);
}

/* ヘッダー（タイトル + 工事総額） */
.kt-case-detail__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--kt-gray-200);
}

.kt-case-detail__header-main {
    flex: 1;
}

.kt-case-detail__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--kt-navy);
    line-height: 1.4;
    margin-bottom: 8px;
}

.kt-case-detail__date {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

.kt-case-detail__date::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    flex-shrink: 0;
}

.kt-case-detail__header-cost {
    text-align: right;
    flex-shrink: 0;
}

.kt-case-detail__cost-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.kt-case-detail__cost-num {
    font-size: 48px;
    font-weight: 800;
    color: var(--kt-orange);
    line-height: 1;
}

.kt-case-detail__cost-unit {
    font-size: 18px;
    font-weight: 700;
    color: var(--kt-gray-700);
}

.kt-case-detail__cost-unit-price {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

/* 本文（内訳 + サイドバー） */
.kt-case-detail__body {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.kt-case-detail__breakdown {
    flex: 1;
}

.kt-case-detail__section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--kt-navy);
    margin-bottom: 20px;
    padding-left: 14px;
    border-left: 4px solid #3B82F6;
}

/* 内訳テーブル */
.kt-case-detail__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    border: 1px solid #dde2ea;
    border-radius: 8px;
    overflow: hidden;
}

.kt-case-detail__table thead th {
    padding: 10px 16px;
    background: #f4f6f9;
    font-weight: 600;
    font-size: 13px;
    color: var(--kt-gray-500);
    text-align: left;
    border-bottom: 1px solid #dde2ea;
}

.kt-case-detail__table tbody td {
    padding: 13px 16px;
    border-bottom: 1px solid #eaecf0;
    font-size: 14px;
    vertical-align: middle;
}

.kt-case-detail__item-name {
    font-weight: 700;
    color: var(--kt-navy);
    white-space: nowrap;
}

.kt-case-detail__item-price {
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.kt-case-detail__item-note {
    color: #666;
    font-size: 13px;
}

.kt-case-detail__total-row td {
    border-bottom: none;
}

.kt-case-detail__total-row {
    background: #fefaf5;
}

.kt-case-detail__total-label {
    font-weight: 800;
    color: var(--kt-orange);
    font-size: 16px;
}

.kt-case-detail__total-price {
    font-weight: 800;
    color: var(--kt-orange);
    font-size: 20px;
    text-align: right;
}

/* CTA サイドバー */
.kt-case-detail__sidebar {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
}

.kt-case-detail__cta-box {
    background: #fff;
    border: 2px solid #e0e5ec;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.kt-case-detail__cta-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--kt-navy);
    line-height: 1.6;
    margin-bottom: 20px;
}

.kt-case-detail__cta-btn {
    display: block;
    background: var(--kt-orange);
    color: #fff;
    text-decoration: none;
    padding: 20px 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.2s;
    box-shadow: 0 4px 0 #c55f00;
}

.kt-case-detail__cta-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #c55f00;
    color: #fff;
}

.kt-case-detail__cta-btn-main {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.5;
    color: #fff;
}

.kt-case-detail__cta-btn-sub {
    display: block;
    font-size: 12px;
    margin-top: 4px;
    color: rgba(255,255,255,0.9);
}

.kt-case-detail__cta-note {
    font-size: 11px;
    color: #999;
    line-height: 1.6;
}

/* 事例のポイント */
.kt-case-detail__comment {
    margin-top: 40px;
    background: #F0F6FF;
    border: 1px solid #D0E2F7;
    border-radius: 12px;
    padding: 24px 28px;
}

.kt-case-detail__comment-title {
    font-size: 17px;
    font-weight: 700;
    color: #2563EB;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kt-case-detail__comment-title::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232563EB'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.17L4 17.17V4h16v12zM7 9h2v2H7zm4 0h2v2h-2zm4 0h2v2h-2z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    flex-shrink: 0;
}

.kt-case-detail__comment-body {
    font-size: 14px;
    line-height: 1.8;
    color: var(--kt-gray-700);
}


/* ============================================================
   P-007〜009 レスポンシブ
   ============================================================ */
@media (max-width: 768px) {
    /* 相場ヘッダー */
    .kt-price-header {
        padding: 32px 0 28px;
    }

    .kt-price-header__title {
        font-size: 22px;
    }

    /* 価格オーバービュー共通 */
    .kt-price-overview--pref,
    .kt-price-overview--city {
        flex-direction: column;
    }

    .kt-price-overview--pref .kt-price-overview__main,
    .kt-price-overview--city .kt-price-overview__main {
        padding: 24px 20px;
    }

    .kt-price-overview--pref .kt-price-overview__num,
    .kt-price-overview--city .kt-price-overview__num {
        font-size: 42px;
    }

    .kt-price-overview--pref .kt-price-overview__side,
    .kt-price-overview--city .kt-price-overview__side {
        min-width: 0;
        width: 100%;
        border-left: none;
    }

    .kt-price-overview--city .kt-price-overview__side {
        border-top: 1px solid rgba(74,144,217,0.3);
    }

    /* 早見表 */
    .kt-price-table {
        font-size: 12px;
    }

    .kt-price-table thead th,
    .kt-price-table tbody td {
        padding: 8px 10px;
    }

    /* 事例詳細ヘッダー */
    .kt-case-detail__header {
        flex-direction: column;
        gap: 16px;
    }

    .kt-case-detail__header-cost {
        text-align: left;
        display: flex;
        align-items: baseline;
        gap: 8px;
    }

    .kt-case-detail__cost-num {
        font-size: 36px;
    }

    .kt-case-detail__title {
        font-size: 20px;
    }

    /* 本文レイアウト */
    .kt-case-detail__body {
        flex-direction: column;
    }

    .kt-case-detail__sidebar {
        width: 100%;
        position: static;
    }

    /* コメント */
    .kt-case-detail__comment {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .kt-price-overview--pref .kt-price-overview__num,
    .kt-price-overview--city .kt-price-overview__num {
        font-size: 36px;
    }

    .kt-case-detail__cost-num {
        font-size: 28px;
    }

    .kt-case-detail__table thead th {
        font-size: 12px;
        padding: 8px 10px;
    }

    .kt-case-detail__table tbody td {
        padding: 10px;
        font-size: 13px;
    }

    .kt-case-detail__total-price {
        font-size: 16px;
    }
}
